| |
if elsif else Tag
Format:
<if Expression> heitml [ <else> heitml ] </if> |
Format:
<if Expression> heitml
<elsif Expression> heitml
...
<elsif Expression> heitml
[ <else> heitml ]
</if>
|
Purpose: Evaluates the Expression after the if tag.
Its result must be of type Boolean.
If the expression evaluates to true, the heitml code following the if tag is performed,
otherwise the evaluation repeats for the expression of every elsif tag.
If no elsif expression evaluates to true, and if the else tag has been specified,
the heitml code following the else tag is performed.
Example:
<if x == y>
<DoThisProcedure>
<DoThisOneToo>
<else>
<ShowErrorMessage>
</if>
|
Note:
The if, elsif, and else Tag is Case Sensitive, which means heitml will not recognize it if you use capital letters (e.g. <IF Expression>, <ELSIF Expression> or <ELSE>).
|
This page was dynamically generated by the
web application development tool RADpage
of H.E.I.
H.E.I. provides support, tools, and services like
Webdesign in Mannheimm,
the HTML/CSS 3D WebGL Animation Library taccgl,
3D Webdesign, and
3D Product ConfiguratorDemo
(3D Produkt Konfigurator Demo in German).
© 1996-2025 H.E.I. All Rights Reserved.
|