[fpc-pascal] Type helper for array

Jürgen Hestermann juergen.hestermann at gmx.de
Fri Jun 10 07:36:26 CEST 2016


Am 2016-06-09 um 20:18 schrieb Sven Barth:
 > Am 09.06.2016 17:57 schrieb "Vojtech Cihák" <vojtech.cihak at atlas.cz>:
 > > aBuffer.Clear;
 > > Is it possible to do this without helper?
 >
 > You can always set the array to Nil

IMO SetLength(aBuffer,0) would the most natural way to clear the array.



More information about the fpc-pascal mailing list