11-11-2008, 05:25 PM
|
#3 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
|
yeah, you should TEST the conditions, and not make assignments. therefore...
will become:
Also, you should use the OR operand ( || ) instead of the keyword or, because it has greater precedence.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
|
|
|
|