You are not logged in.
Pages: 1
Is there anyway to use TDynArray in OS-X?
The following code works well for me to persist arrays into a zipfile in windows:
begin
aMarkDynArray.Init(TypeInfo(RMarks),myRMarks);
SetLength(myRMarks,RowPoints.Count);
for i := 0 to RowPoints.Count - 1 do
myRMarks[i]:=RowPoints.Marks[i];
MyStream.Clear;
aMarkDynArray.SaveToStream(MyStream);
MyStream.Position:=0;
ZipFile.add (MyStream, Chartname+'.marks'); //row font info
end;
or is there a cross-platform way to accomplish the same thing?
Offline
Pages: 1