View Single Post
Senior Member
Volunteer Data File Author
Join Date: Oct 2011
Posts: 121

Old May 22nd, 2014, 12:20 PM
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.

My code doesn't have bugs; it has undocumented features!
AntaresCD is offline   #3 Reply With Quote