[fpc-pascal] Setlength

Carsten Bager carsten at beas.dk
Fri Dec 4 14:57:13 CET 2009


I have 2 lines of code 
1 I allocate memory
2 I read from the screen (Nano-X) and save it in the "BitMapArray".

Can I do this or can I not be sure that the memory is in one block.


setlength(BitMapArray,Width*Height);
GrReadArea(TNxWindow(window).w,Left,Top,Width,Height, at BitMapArray[0]);

Carsten




More information about the fpc-pascal mailing list