[fpc-pascal](no subject)

Florian Klaempfl Florian.Klaempfl at gmx.de
Thu Sep 21 13:26:56 CEST 2000


Jonas Maebe wrote:
> 
> >Why cannot be output of function passed as const parameter of another
> >function? Are there some fundamental difficulties with it?

Can you please give an example which doesn't compile?

> 
> The problem is that const parameters are passed by reference (ie. the
> address of the value is pushed instead of the value itself). Function
> results do not have an address.
> 

This is wrong!





More information about the fpc-pascal mailing list