global variable change in substack not available to main stack

Pete pete at mollysrevenge.com
Mon Jul 11 01:30:32 EDT 2011


Thanks for the info.
Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Sun, Jul 10, 2011 at 9:25 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:

> 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
>
> ______________________________**_________________
> 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<http://lists.runrev.com/mailman/listinfo/use-livecode>
>
>



More information about the use-livecode mailing list