Thanks all!
This one works!

Arjan


>He wants 2D dynamic arrays, let's give him one:
>type
>  TMyArray = array of array of Float;
>var
>  MyArray: TMyArray;
>begin
>  SetLength(MyArray,Width,Height); // Valid index now:
>[0..Width-1,0..Height-1]
>  // Do something with MyArray
>  // No deallocation needed, the compiler does this for you
>end;
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to