Quote:
Originally Posted by AntaresCD
Oh this reminds me, does the scripting in Army Builder use short-circuit evaluation, in general, and, in specific, within if statements (e.g. if there are a string of options or'd together does it stop once one of them is true or does it continue evaluating them all anyway even though the boolean expression has a known answer already by definition)?
This would affect the way I write the script i mentioned above as my current "best" solution to this problem.
|
You mean like a exit statement?
Use 'done' I believe that will kick the execution out of the current if block to the next outer block.
The Butcher