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
 ahsoftw...@gmail.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to