Menu

keywords-then

Will Pittenger

Used to build traditional if/then/else statements using either if and else or conditionalif and else. The utility of this keyword is questionable as ASIL doesn't allow multiple statements on one line. As a result, it might be dropped.

Use with if

\if\ expression boolean condition \then\
  ' Then clause
[\else\
  ' Optional else clause which can also be a else if caluse
]

Use with conditionalif

\conditionalif\ expression boolean condition \then\
  ' then clause
[\else\
  ' Optional else clause which can also be a else conditionalif clause

Related

Wiki: Conditional compilation
Wiki: Keywords
Wiki: keywords-conditional
Wiki: keywords-else
Wiki: keywords-if