On Sat, Jul 9, 2011 at 12:40 PM, Thaddy <tha...@thaddy.com> wrote:
> Isn't it time to cut this discussion short? const means do not modify! full
> stop! whatever by reference or value. The rest is bovine extrement.

Not so fast.
As Hans-Peter Diettrich said: "Pascal "const" parameters are
optimization hints in the first place, the write protection of
parameters is a less important item instead".

Is very important, for optimizations, we know if the parameter is
passed by reference or value... don't you think?

Marcos Douglas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to