On 2017-10-11 11:01, Michael Van Canneyt wrote:
No, you need constref then.
So for the record.... In the example given, will const make a copy of the record and constref will pass in the original record (no copy of data)?
If so, then what's the difference between constref and var? Because it sounds like they are doing the same thing - given the example.
Regards, Graeme _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal