
12-31-2003, 12:35 AM
|
|
Graalian since 1998
|
 |
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
|
|
According to KSI-GS:
Quote:
Rule 8:
If your script is checking multiple possibilities and they are mutually exclusive (ie, they can't both be true), use elseif instead of a string of ifs. It's more efficient (Graal doesn't always need to evaluate all the conditions), and it adds implicit meaning to your code.
|
:grin: |
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
|
|
|
|