EasyManua.ls Logo

Crestron SIMPL+ - SIMPL+ Branching & Decision Constructs; BREAK 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...
Software Crestron SIMPL+
®
86 z SIMPL+
®
Language Reference Guide - DOC. 5797G
Branching & Decision Constructs
BREAK
Name:
BREAK
Syntax:
BREAK;
Description:
Terminates the innermost DO-UNTIL, FOR, or WHILE loop before the exit
condition is met. Execution resumes after the end of the bop.
Example:
INTEGER X;
ANALOG_INPUT Y;
X=0;
WHILE(X<25)
{
IF(Y = 69)
BREAK;
X = X + 1;
PRINT(“X=%d\n”, X);
}
In this example, the WHILE loop will terminate if the ANALOG_INPUT Y equals
the value of 69. Otherwise, the loop will exit via the normal termination condition.
Version:
SIMPL+ Version 1.00

Table of Contents

Other manuals for Crestron SIMPL+

Related product manuals