Newbie question - how to check for a varible

Stephen Cox stephen at networkxfla.com
Sat May 9 12:30:20 EDT 2009


Wait. I don't get this. You saying that checking if an unused variable is
empty returns false? Does revolution put some data in a variable when
created? 


On 5/9/09 2:44 AM, "Martin Blackman" <martinblackman at gmail.com> wrote:

> There is a gotcha to be aware of here.
> 
> Checking if a previously unused variable is empty returns false. That
> has caught me out a few times.  I wonder why the answer is false. I
> think the engine interprets the variable as a string instead, in the
> same way that 'answer hello' without quotes around hello works.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list