On 2017-10-11 11:36, Michael Van Canneyt wrote:
In the case of const, you don't know. The compiler will do as it sees fit.
Oh wow, I really didn't know that.
....snip.... The difference is that you can assign something to a var parameter, but you cannot assign something to a constref.
Thank you Michael, that was very informative information. One is never too old to learn. ;-)
Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal