Array Properties in a Standalone
Mark Wieder
ahsoftware at sonic.net
Wed Jan 11 21:43:29 EST 2017
On 01/11/2017 04:30 PM, Bob Sneidar via use-livecode wrote:
> I read in the dictionary:
>
> If you place the constant statement in a handler, you can use the constant anywhere in the handler. If you place the constant statement in a script outside any handler, you can use the constant anywhere in the handlers of that script.
>
> Any way to declare a global constant? I think I know the answer, but I thought I'd ask.
Heh.
There are requests for this in the bug database going back to 2004.
To make matters worse, if you're really diabolical you could declare
different values for constants in different scripts.
script 1:
constant onePlusOne = 2
script 2:
constant onePlusOne = 3
--
Mark Wieder
ahsoftware at gmail.com
More information about the use-livecode
mailing list