Am 05.03.2013 10:25, schrieb Michael Van Canneyt:
I've seen this before, and always been baffled by this. How can you
increment a "constant"? If you can, it is then a variable, no?
A leftover from the TP days. A typed constant acts as an initialized
variable.
You can disable this construct with:
http://www.freepascal.org/docs-html/prog/progsu42.html
This should be the default in ObjFpc mode.
Michael
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel