EasyManua.ls Logo

Crestron SIMPL+ - Page 94

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+
®
84 z SIMPL+
®
Language Reference Guide - DOC. 5797G
Example:
STRING_INPUT IN$[100];
INTEGER X;
FOR (X = 1 TO LEN(IN$))
{
PRINT(“Character %d of String %s is %s\n”, X, IN$,
MID(IN$, X, 1));
}
In this example, the loop will iterate through each character of a string and print out
the string and its position in the original string.
Version:
SIMPL+ Version 1.00

Table of Contents

Other manuals for Crestron SIMPL+

Related product manuals