Testing for numerics

FlexibleLearning at aol.com FlexibleLearning at aol.com
Tue Oct 10 10:17:50 EDT 2006


>> global gVar2
>> on mouseUp
>>     breakpoint
>>   --gVar2 appears in Variable Watcher, but not  in (the globals)


> Cool! I didn't know that this happened... this might be quite  useful.
> 
> Thanks for the info!

Which is why I suggested  testing against prior usage...

if "gAGlobal" is not among the items of the globals  then
global gAGlobal
put 10 into  gAGlobal -- or NULL or whatever
end if
 
/H



More information about the Use-livecode mailing list