Array Properties in a Standalone
Bob Sneidar
bobsneidar at iotecdigital.com
Wed Jan 11 19:30:15 EST 2017
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.
Bob S
> On Jan 11, 2017, at 07:09 , Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> <snip>
>
> I was a few beers in when I wrote this. Upon thinking about this, what is actually happening is that every stack becomes it's own mainstack in a standalone. I think what I will do then is declare a constant with the name of what I am calling the mainstack when I first launch it. Then I can simply refer to that. In fact I'm going to call it the homestack instead. You are right Jacque it shouldn't take much to refactor all this.
>
> Bob S
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list