Difference between revisions of "If"

Jump to navigation Jump to search
12 bytes added ,  04:54, 17 December 2009
m
imported>Thalassicus
imported>Thalassicus
Line 121: Line 121:
end</pre>
end</pre>


In short, best practice is to call RETURN early and often, when possible. For large scripts with complex routines (such as processing inventory, sorting an array, searching an array, etc.) this subtle difference can yield dramatic performance gains.
In short, best practice is to call RETURN early and often, when possible. For large scripts with complex routines (such as looking for an item in inventory, sorting an array, searching an array, etc.) this subtle difference can yield dramatic performance gains.


== Comparisons and Expressions ==
== Comparisons and Expressions ==
Anonymous user

Navigation menu