[fpc-pascal] readonly variables
jonas.maebe at elis.ugent.be
Wed Dec 2 10:52:16 CET 2009
On 02 Dec 2009, at 10:26, Holger Bruns wrote:
> I checked this out. Both Turbo Pascal and fpc reported the same
> error massage: Variable identifier expected. You simply cannot pass
> constant values by reference.
Passing a parameter by reference and "var" parameters are not the same
thing. Const parameters are sometimes passed by reference, and
sometimes not. Which it is depends on the implementation in the
compiler and/or on the calling convention.
More information about the fpc-pascal