Global variables lost in space
Dar Scott
dsc at swcp.com
Tue May 17 20:23:14 EDT 2005
On May 17, 2005, at 5:49 PM, Mark Talluto wrote:
> I just got bitten by the same thing and came to realize that if you
> create a new global variable and put a number into it, it will not now
> up.
This works for me:
on mouseUp
global a
put 0+5 into a
put "[" & a & "]"
end mouseUp
I even changed the global to some weird name and used random().
Rev 2.5.1 on OS X 10.3.9 (MDD).
Dar
--
**********************************************
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**********************************************
More information about the use-livecode
mailing list