[fpc-pascal] const records passed incorrectly
Michael Van Canneyt
michael at freepascal.org
Mon Nov 16 15:09:20 CET 2009
On Mon, 16 Nov 2009, Anthony Walter wrote:
> Actually the help does. The first thing I did when I got to work with
> morning was top open my Delphi 7 help file and typed "const" then
> choose the topic "constant (const) parameters".
Definitely not in the printed manual of D7, which I consulted prior
to typing my answer...
> "Using const allows the compiler to optimize code for structured- and
> string-type parameters."
Yes, it says this in my manual as well, but no more and no less.
More information about the fpc-pascal