[fpc-pascal] Writeable typed constants - what's the point?

Vincent Snijders vsnijders at vodafonevast.nl
Thu Jun 18 08:51:13 CEST 2009

Graeme Geldenhuys schreef:
> Hi,
> Recently I learned that you can have writeable typed constants. That
> sounds rather like an oxymoron to my. Writeable constants make no sense,
> is that then simply a variable? What is the use of a writeable typed
> constant?

Backwards compatibility with turbo pascal, which lacked initialized 
variables and writable constants were the alternative.


More information about the fpc-pascal mailing list