Can a constant be global?
Stephen Barncard
stephenREVOLUTION at barncard.com
Mon Mar 27 11:45:22 EST 2006
Who needs "Global Constants" when you have custom props?
OR Getprop/setprop....
sqb
>Hi,
>
>As far as I know, constants are only valid in the current script.
>Globals are really "Global" but then they can't be initialized to a
>value when they are defined, which is why I assume constants can't
>be "Global".
>
>The only way I have found to make constants "Global" is to make and
>use a Library Stack that becomes a sort of poor man's constant.
>Here's what I do:
>
--
stephen barncard
s a n f r a n c i s c o
- - - - - - - - - - - -
More information about the use-livecode
mailing list