(Gast)
n/a Beiträge
|
Re: TFileStream Strings saven kalppt nicht
3. Nov 2005, 17:12
String speichert man so:
Delphi-Quellcode:
procedure SaveString(S: String; Dest: TStream);
var i: Integer;
begin
i := Length(S);
Dest.Write(i, sizeof(i));
Dest.Write(S[1], i);
end;
|
|
Zitat
|