Empty and logical expressions
Robert Sneidar
slylabs13 at me.com
Fri Nov 9 21:41:23 EST 2012
Yes because null = ascii 0. "0" = ascii 48!
Emptystring is less than ascii 48. (Nothing is always less than something)
Emptystring is therefore also less than ascii 0. (by the same token and for the same reason)
It all makes sense when you boil it down.
Bob
On Nov 8, 2012, at 11:34 AM, Ralph DiMola wrote:
> Here's an interesting exercise I just did.......
>
> (Null < 0) ==> true
> (Empty < 0) ==> true
> (Empty = Null) ==> false
More information about the use-livecode
mailing list