Try custom properties instead. Store your values in a stack property and they will be retrievable from anywhere.
Bob On Jul 6, 2011, at 9:45 PM, Mark Stuart wrote: > Hi Slava, > You wrote: >>> > You said "the value of that global not be available anywhere else," but the > value IS available everywhere else. You just have to declare that this is a > global variable before using it, so LC knows where to fetch that value. > << > > Again, my point exactly. > You HAVE to declare the global again, and again where needed. > > I'd rather it once declared and a value put into it, the value be available > elsewhere WITHOUT having to declare it again. > It just sets up the developer for an easy "falldown". The time it takes, > especially for a different developer in the same application or coming back > some time later, to find the declared global name. > > Which brings up a whole new issue of intelli-sense or type-ahead > variable-name-while-typing-a-script convention. > But I won't go there at this time. > > Regards, > Mark Stuart > > > _______________________________________________ > 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 _______________________________________________ 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