Testing for numerics

Robert Sneidar bobs at twft.com
Thu Oct 12 16:20:47 EDT 2006


OIC Jim. I think you've nailed it. A declared global does NOT show up  
in the globals UNTIL you put something into it! Brilliant! So is  
there a handler that gets triggered if I declare a global? If so, I  
can intercept it and auto-initialize it with a handler to null and  
never have to change a line of Foxpro code that checks for null  
globals! BRILLIANT!!!

I turned the message watcher on but cannot discern if any of the  
messages are the result of declaring a global variable. Still, this  
is workable.

Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Oct 9, 2006, at 6:46 PM, Jim Ault wrote:

>> You're right, of course - there's no way to just declare a global  
>> and then
>> later try and tell the difference between it being newly declared  
>> and it
>> having had "empty" put into it.
>
> Ken,
>
> I beg to differ, but perhaps I don't know enough about globals in Rev
>  Globals are in the Rev space, owned by Rev, and will persist even  
> if all
> stacks are closed and removed from memory... however





More information about the Use-livecode mailing list