[fpc-pascal] Array clearing

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Apr 4 17:07:58 CEST 2017

On Tue, 4 Apr 2017 16:46:02 +0200
Sven Barth via fpc-pascal <fpc-pascal at 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.


More information about the fpc-pascal mailing list