[fpc-pascal] How to allocate a 2D array?
leledumbo_cool at yahoo.co.id
Tue Jan 13 05:27:11 CET 2009
He wants 2D dynamic arrays, let's give him one:
TMyArray = array of array of Float;
SetLength(MyArray,Width,Height); // Valid index now:
// Do something with MyArray
// No deallocation needed, the compiler does this for you
View this message in context: http://www.nabble.com/How-to-allocate-a-2D-array--tp21414552p21429315.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal