[fpc-pascal] various ways of passing a class instance as a parameter

Alexander Shishkin alexvins at mail.ru
Tue Nov 15 10:47:23 CET 2011


15.11.2011 13:33, Graeme Geldenhuys пишет:
> Hi,
>
> What exactly is the difference (if any) between the parameter modifier
> when you pass a class instance to a procedure?
>

I your example there is no difference, except that "var" could be ~0.01% 
slower




More information about the fpc-pascal mailing list