IgniteEngine-iOS icon indicating copy to clipboard operation
IgniteEngine-iOS copied to clipboard

Support for if/else-if/else conditionals

Open brandonscript opened this issue 10 years ago • 1 comments

Not sure how we're going to implement this yet, but the mutually exclusive if-statements are a bit of a challenge at times. Should support the following syntaxes:

if :: condition :: responseIfTrue                      // this exists already
if :: condition :: responseIfTrue :: responseIfFalse   // new

and

if :: condition :: responseIfTrue
elseif :: condition :: responseIfTrue
elseif :: condition :: responseIfTrue
else :: defaultResponse

brandonscript avatar Mar 06 '15 18:03 brandonscript

Added the following syntax in 920b830:

if :: condition :: responseIfTrue :: responseIfFalse

brandonscript avatar Mar 16 '15 17:03 brandonscript