Crestron SIMPL+ Reference Manual page 111

Language reference guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®
Example:
This example takes an input string and creates an output string containing the
elements of the input string that do not have the most significant bit (bit 7) set.
STRING_INPUT SOURCE$[100];
STRING_OUTPUT OUT$;
STRING TEMP$[100];
INTEGER I;
CHANGE SOURCE$
{
FOR(I = 1 to LEN(SOURCE$))
{
IF(BIT(SOURCE$, I, 7) = 0)
{
MAKESTRING(TEMP$, "%s%s", TEMP$, MID(SOURCE$, I, 1));
}
}
OUT$ = TEMP$;
}
Version:
SIMPL+ Version 1.00
Software
®
SIMPL+
101

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIMPL+ and is the answer not in the manual?

Table of Contents

Save PDF