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

Graeme Geldenhuys graemeg at opensoft.homeip.net
Thu Jun 18 10:48:57 CEST 2009

fpclist at silvermono.co.za wrote:
> Is this likely to be dropped in future versions of FPC?

No idea. But I have noticed that FPC (mode objfpc) defaults to allow
writeable typed constants, whereas Delphi and Kylix doesn't. In the
latter two compilers you have to enable is support with $J+ compiler

I don't know (have not tested) what FPC does with mode delphi though.
But seeing that this feature is just for backward compatibility, maybe
it should be disallowed by default in mode objfpc as well?

  - Graeme -

fpGUI - a cross-platform GUI toolkit using Free Pascal

More information about the fpc-pascal mailing list