Hi Ralph,

Empty is a value too, but I wouldn't know how to evaluate it. Perhaps empty 
evaluates to NULL internally, which would give the same result: NULL < 0 is 
also true. Actually, NULL is less than any other value. Empty < 0 has been true 
since the beginning of HyperCard.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour 
spaces. http://www.color-converter.com

We have time for new software development projects. Contact me for a quote.




On 8 nov 2012, at 22:03, Ralph DiMola wrote:

> 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?
> 


_______________________________________________
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

Reply via email to