User Guide

Crestron SIMPL+
®
Software
Language Reference Guide - DOC. 5797G SIMPL+
®
z 61
Example:
SIGNED_LONG_INTEGER temp_level;
Specifies one locally declared SIGNED_LONG_INTEGER in this SIMPL+ program
SIGNED_LONG_INTEGER CommandBytes[2];
Specifies an array of three SIGNED_LONG_INTEGERs that can be referenced
under the name CommandBytes. In pictorial form, it appears as:
SIGNED_LONG_INTEGER Matrix[4][3];
Specifies a two-dimensional array of SIGNED_LONG_INTEGERs five rows deep
by four columns wide.
In pictorial form, it appears as:
Version:
SIMPL+ Version 3.00.06
Control System
2-Series Only
CommandBytes[0] CommandBytes[1] CommandBytes[2]
Matrix[0][0] Matrix[0][1] Matrix[0][2] Matrix[0][3]
Matrix[1][0] Matrix[1][1] Matrix[1][2] Matrix[1][3]
Matrix[2][0] Matrix[2][1] Matrix[2][2] Matrix[2][3]
Matrix[3][0] Matrix[3][1] Matrix[3][2] Matrix[3][3]
Matrix[4][0] Matrix[4][1] Matrix[4][2] Matrix[4][3]
NOTE: The subscripts of an array may be an expression, i.e.:
SIGNED_LONG_INTEGER location[5], room;
room = 2;
location[room] = 10;