Thread: first quest...
View Single Post
  #10  
Old 05-30-2004, 10:46 AM
Dave987
Discordant
 
Join Date: Jun 2003
Location: England
Posts: 267
Default

Quote:
Originally Posted by animepimp
And for your question about parenthesis, it doesn't have to use double ones, thats probably just his coding style and in this case completely unnecessary.
Yep , whenever I do a calculation , such as if ($itemcount{xx} == 2 ) && ($itemcount{xy} == 1) I always write it like:

Code:
((($itemcount{xx} == 2 )) && (($itemcount{xy} == 1)))
Just the way I write .
__________________
;o)
Reply With Quote