> On Oct 11, 2017, at 5:01 PM, Michael Van Canneyt <mich...@freepascal.org> > wrote: > > No, you need constref then.
Ok, so constref/var are the same in terms of copying. The docs say const reduces stack size? I never label my parameters with const but maybe it’s worth it some cases. Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal