[fpc-pascal] Const params question
mailinglists at geldenhuys.co.uk
Wed Oct 11 12:30:21 CEST 2017
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.
More information about the fpc-pascal