Export Code Type:
Export Code Scope of Action:
Export Code First Added:
Export Code in Current Baseline:
Export Code Last Altered:
Conditional Mark-up [other codes of this type]
n/a [codes with similar scope]
v1.0.0
Baseline
As at baseline
^else^
If the condition specified in ^if( condition )^ is not true
, then export everything from the ^else^ statement to the ^endif^.
Thus:
^if($Width>5)^The $Width is greater than 5.^else^The $Width is 5.0 or less.^endIf^
…which, depending on the outcome exports out either the string "The $Width is greater than 5." or the string "The $Width is 5.0 or less."
Note there is no extended branching form, such as an 'else if' method. For that, nest further ^if()^ tests in the negative result branch (i.e. after the ^else^).
See also—notes linking to here: