#1 2015-09-23 17:20:41

WCantrall
Member
Registered: 2015-09-23
Posts: 1

TDynArray for OS-X?

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

#2 2015-09-24 08:05:43

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,664
Website

Re: TDynArray for OS-X?

TDynArray works on OSX... under FPC.
Not under Delphi yet.

Offline

Board footer

Powered by FluxBB