Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Do conditionals short-circuit?

Using icecube, do conditionals short-circuit?

For example, if you have

if( a AND b AND c)

and 'a' is false does the program continue to evaluate both 'b' and 'c', or does it stop knowing if wouldn't matter?

I know I can nest multiple if statements for the same effect but it makes the code a lot harder to read and takes up a ton of space.

Comments

  • If you meant SugarCube then I believe they do, otherwise I don't know because I could not find an icecube story format.
Sign In or Register to comment.