Difference between revisions of "If"

Jump to navigation Jump to search
225 bytes added ,  06:43, 30 August 2006
no edit summary
imported>Nictrolis
imported>Sarkandar
Line 131: Line 131:


After the condition or the "else" statement the rest of the line is ignored. There aren't any error messages to warn you, so (since the line appears to be correct) you might spend a lot of time locating the source of the problem.
After the condition or the "else" statement the rest of the line is ignored. There aren't any error messages to warn you, so (since the line appears to be correct) you might spend a lot of time locating the source of the problem.
 
The whole if test is evaluated as a whole. Even if a sub-test returns false, the rest is still evaluated. Make sure your reference functions in the test are ALWAYS called on valid references or unexpected things might happen.


[[Category:Commands]]
[[Category:Commands]]
Anonymous user

Navigation menu