In Delphi / Lazarus I can create, fill a dynamic array and set length in the same operation like the sample I pasted below.
But in VSC with TMSWebCore, it seems that I have to fill the items in the array one by one.
My question is if am doing it wrong or is an OmniPascal issue?
Error in VSC is :
illegal qualifier "." after "array of Integer" [Ln 86:Col 9]
Same code, working in Delphi / Lazarus:
jdintarray = array of integer;
procedure TForm1.FormCreate(Sender: TObject);
var WA: jdintarray;
WA := jdintarray.create(10,11,12,13);
Is somewhere there a reference for Omnipascal features and so? I know it is a work in progress but could not find any reference online.