On Tue, 4 Apr 2017 16:46:02 +0200
Sven Barth via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:

>[...]
> SetLength() allocates a single block of memory,

To avoid misunderstanding: SetLength(a,dim1,dim2) allocates one block
for the dim1 array and then for each element another block.

Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to