EasyManua.ls Logo

Crestron SIMPL+ - IF - ELSE Statement

Crestron SIMPL+
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Crestron SIMPL+
®
Software
Language Reference Guide - DOC. 5797G SIMPL+
®
z 89
IF - ELSE
Name:
IF - ELSE
Syntax:
IF ( <expression>)
[{]
<statements>
[}]
[ELSE]
[{]
<statements>
[}]]
Since <statements> can be an IF construct, you can string out a series of IF-ELSE-IF
statements of the form:
IF (<expression>)
[{]
<statements>
[}]
[ELSE] IF (<expression>)
[{]
<statements>
[}]]
IF (<expression>)
[{]
<statements>
[}]
[ELSE] IF (<expression>)
[{]
<statements>
[}]
[ELSE]
[{]
<statements>
[}]
NOTE: A final ELSE may be used to express default handling if none of the previous
conditions were met.

Table of Contents

Other manuals for Crestron SIMPL+

Related product manuals