Crestron SIMPL+ Reference Manual page 71

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

Advertisement

Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®
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:
CommandBytes[0]
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:
Matrix[0][0]
Matrix[1][0]
Matrix[2][0]
Matrix[3][0]
Matrix[4][0]
NOTE: The subscripts of an array may be an expression, i.e.:
SIGNED_LONG_INTEGER location[5], room;
Version:
SIMPL+ Version 3.00.06
Control System
2-Series Only
CommandBytes[1]
Matrix[0][1]
Matrix[0][2]
Matrix[1][1]
Matrix[1][2]
Matrix[2][1]
Matrix[2][2]
Matrix[3][1]
Matrix[3][2]
Matrix[4][1]
Matrix[4][2]
room = 2;
location[room] = 10;
Software
CommandBytes[2]
Matrix[0][3]
Matrix[1][3]
Matrix[2][3]
Matrix[3][3]
Matrix[4][3]
®
SIMPL+
61

Advertisement

Table of Contents
loading

Table of Contents