MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.
i use this code for insert the records in a .dat file:
type TMyRecord = record Name: string; Surname: char; end; var Members: array[1..50] of TMyRecord;
and this code for read:
var F : file of TMyRecord; i : integer; begin AssignFile(F,'members.dat') ; Rewrite(F) ; try for j:= 1 to 50 do Write (F, Members[j]) ; finally CloseFile(F) ; end; end;
How can i add and read image or other resource on this .dat file?
var Member: TMyRecord F : file of TMyRecord; begin AssignFile(F,'members.dat') ; Reset(F) ; try while not Eof(F) do begin Read (F, Member) ; showmessage(member.name); showmessage(member.surname); end; finally CloseFile(F) ; end; end;
|What programming codes make the characters interact, set-up the world, make the characters move, design the graphics, audio and other things like that?||3||59|
|Is there any way to convert exponential value to number in sql server||5||55|
|What does != "" mean in programming||8||80|
|Do Wend Macro not working||22||35|