Software
®
84
SIMPL+
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
Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®