On 7/7/11 10:36 AM, Mark Stuart wrote:

Jacqueline - are you saying that two different applications (as
executables or as .rev/.livecode stacks) using the same global name can
be referenced by one another, and share the same values? That's bizarre.

No, not at all. In your own standalone, globals and all other variables belong only to your scripts and it's safe. The conflict arises only if you are working with stacks in the IDE. Plugins are a good example, or any stacks you download from RevOnline. If one of those uses the same global name as a local variable in your own script, you'll get the other author's values instead of yours.

It could happen with your own stacks too if you're like many of us and tend to use the same names in different stacks for certain things.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.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