on mouseUp pMouseBtnNo
put empty into tVar
put tvar is not zero
end mouseUp
results in true. Not sure what is going on there.
Bob
On Sep 11, 2012, at 10:47 AM, Peter Haworth wrote:
> Just ran across a little oddity. The statement "if tVar is not zero"
> evaluates to false if tVar is empty. Apparently empty and zero are treated
> the same for comparison purposes?
> Pete
> lcSQL Software <http://www.lcsql.com>
> _______________________________________________
> 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