[fpc-pascal] readonly variables

Anthony Walter sysrpl at gmail.com
Sat Nov 28 20:37:37 CET 2009

> PrivateMyVariableSet is not intialised, so will have an undefined
> (random) value when InitMyVariable is first called.
> Mattias' code given earlier avoids this problem.

Bzzzt. Wrong.

Global variables (even in the implementation section) are always
initialized to 0.

More information about the fpc-pascal mailing list