Is zero the same as empty?

Mark Wieder mwieder at ahsoftware.net
Mon Oct 27 14:48:14 EDT 2014


J. Landman Gay <jacque at ...> writes:

> Empty is sort of a Schrödinger variable and changes its state depending 
> on how you look at it.

Something similar occurs for true and false. I no longer check variables to
see if they are false, because uninitialized variables being empty will fail
the test. Now I just check for "not true", and that takes care of both vars
that are empty and ones that have explicitly been set to false.

Heisenvars.

-- 
 Mark Wieder
 ahsoftware at gmail.com









More information about the use-livecode mailing list