[fpc-pascal] Mozilla XPCOM

Marcos Douglas md at delfire.net
Mon Jun 7 16:30:22 CEST 2010


2010/6/7 Jonas Maebe <jonas.maebe at elis.ugent.be>:
>
> (...)
>
> In C, "const" does not modify how a parameter is passed in any way. If a
> parameter is passed by value without "const", then it's also passed by value
> with "const". The problems are
> a) in Pascal, the behaviour of const is completely undefined (the compiler
> can do whatever it wants)

The compiler can do whatever is wants?!


Marcos Douglas



More information about the fpc-pascal mailing list