User Guide

Software Crestron SIMPL+
®
32 z SIMPL+
®
Language Reference Guide - DOC. 5797G
Declaration Examples:
DECLARATION MEANING
DIGITAL_INPUT in[10]; 10 digital inputs, in[1] to in[10]
INTEGER MyArray[10][20]; 11 rows by 21 columns of data, from
MyArray[0][0] to MyArray[10][20]
STRING PhoneNumbers[100][32]; 101 strings that are a maximum of 32
characters long, e.g. PhoneNumbers[0] to
PhoneNumbers[100]
STRING_INPUT in$[32]; One input string called in$ that is 32 characters
long.
STRING_OUTPUT out$[10]; Ten output strings, out$1 to out$[10]. Their
length does not have to be specified.
STRING_INPUT in$[5][32]; Five input strings, in$[1] to in$[5] that are 32
characters long.
<struct_type> myStruct[10]; 11 structure elements from myStruct[0] to
myStruct[10].