Scott,

empty = 0 --> empty doesn't get parsed
empty * 1 = 0 --> empty gets parsed

tParam gets *parsed* because it is passed on to a handler. Parsed, hence

tParam = 0 --> true.

Just consider this a fact. It may not be entirely logical, but it isn't too difficult to remember and it is easy to work around.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
Snapper Screen Recorder 2.1 http://snapper.economy-x-talk.com

If you sent me an e-mail before 21 June and haven't got a reply yet, please send me a reminder.


On 10 jul 2009, at 00:39, Scott Morrow wrote:

Hello Mark and Jacque,

empty + 0 = 0 is true in the message box
empty = 0 is not true in the message box but the <empty?> parameter in a script does return true (tParam = 0)

Rats, I'm obviously not getting something.  Maybe it's more coffee.

-Scott



_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to