brucexs wrote:
> Map handles are not numbers. The results of using && or not with
> something that is not a number is zero. This explains what you get.
>
> One could argue that a non-numeric string should be treated as non-
> zero by &&, ||, not; perhaps I will change this.
You're right
if(1 && "non numeric string")
win.debug("TRUE")
does *not* write TRUE, but it's very misleading, because if("numeric string")
*does* write TRUE. It's the first
time I'm caught in this fine point of powerpro - I don't understand why it's
this way, I'd prefer for
if("string") and if(1 && "string") and if(not not "string") to all mean the same
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~->
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/