Hi.
If we are not talking about numbers, the ">" operator will compare the ascii values of the two arguments. "0" has ascii 48. Empty, though has ascii, well, empty. I suppose that 48 > nothing. Craig Newman -----Original Message----- From: Ralph DiMola <[email protected]> To: 'How to use LiveCode' <[email protected]> Sent: Thu, Nov 8, 2012 4:04 pm Subject: Empty and logical expressions I just ran down a bug because..... (empty<0) evaluates to true. I would have thought empty is only equal to empty(or "") and any other logical test would be false. Is this common knowledge or did I miss something in the docs? Ralph DiMola IT Director Evergreen Information Services [email protected] _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
