Learning about GLOBALS late in life . . .

Colin Holgate coiin at verizon.net
Mon Nov 16 12:00:46 EST 2009


On Nov 16, 2009, at 11:53 AM, Richmond Mathewson wrote:

> 
> and the third line within the 'on mouseUp'
> threw "a bluey"

Either put the global thing in each handler, or just once at the top. So this would work for example:

global t

on mousedown
   put random(100) into t
end mousedown

on mouseup
   put t
end mouseup






More information about the use-livecode mailing list