Posted by Hilarion on 08/22/05 16:14
> print("a") || print("b")
> is equal to:
> print( ("a") || print("b") )
>
>
> print("a") or print("b")
> is equal to:
> (print("a")) or (print("b"))
One more thing. From the above you can conclude that
"print" has lower precedence than "||" but higher
than "or".
To make first one equal to the second one you'll
probably have to do it like that:
(print("a")) || (print("b"))
Hilarion
Navigation:
[Reply to this message]
|