Newbie question - how to check for a varible

Martin Blackman martinblackman at gmail.com
Sat May 9 02:44:38 EDT 2009


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.



More information about the use-livecode mailing list