global variable change in substack not available to main stack

J. Landman Gay jacque at hyperactivesw.com
Mon Jul 11 00:25:08 EDT 2011


On 7/10/11 3:34 PM, Pete wrote:

> If you want a variable that is truly global without having to declare it
> everywhere, this seems to offer that option.  You'd have to find a way to
> create such variables by script rather than through the message box though -
> maybe they are created as OS environment variables with a shell command,
> like the other $ variables?

You only have to use it, and it becomes an environment variable.

on mouseUp
   put "testing" into $TESTVAR
end mouseUp

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list