Something to be aware of is that the default value of this switch has
changed in Delphi 6.
>From the D6 help:

"The default setting for $WRITEABLECONST ($J) compiler directive has changed
from ON to OFF. This means that you must explicitly turn this compiler flag
on before you can write to typed const values."

John

-----Original Message-----
From: Patrick Dunford [mailto:[EMAIL PROTECTED]]

... <snip> ...

In the default {$J+} compiler state, typed constants can have new values
assigned to them; they behave essentially like initialized variables. But if
the {$J-} compiler directive is in effect, typed constants cannot change
value at runtime; they are, in effect, read-only variables.
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to