EasyManua.ls Logo

Crestron SIMPL+ - SIGNED_INTEGER Declaration

Crestron SIMPL+
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Software Crestron SIMPL+
®
58 z SIMPL+
®
Language Reference Guide - DOC. 5797G
SIGNED_INTEGER
Name:
SIGNED_INTEGER
Syntax:
SIGNED_INTEGER <var1>[,<var2>...];
SIGNED_INTEGER <var1>[size] [,<var2>[size]…];
SIGNED_INTEGER <var1>[rows1][columns1]
[,<var2>[rows2][columns2]…];
Description:
The first form declares an integer value that is local to this SIMPL+ program.
SIGNED_INTEGER values are 32-bit quantities ranging from -32678 to 32767.
The second form declares a one-dimensional array of SIGNED_INTEGER values.
The third form declares a two-dimensional array of SIGNED_INTEGER values. A
two-dimensional array can be thought of as a table or matrix.
The values for SIZE, ROWS, and COLUMNS may be up to 65535.
A SIGNED_INTEGER array element may be used anywhere an
SIGNED_INTEGER is legal. Array elements are referenced by using the name
followed by [element] for one-dimensional arrays or [element1][element2] for two-
dimensional arrays. The element number may range from 0 to the element size. For
example, if an array is declared as NUM[2], then legal elements are NUM[0],
NUM[1], and NUM[2]. The bracket notation is often called an array subscript.
NOTE: (2-Series) SIGNED_INTEGERs can be volatile or non-volatile. The default
is defined using the compiler directives #DEFAULT_NONVOLATILE or
#DEFAULT_VOLATILE or overridden using the nonvolatile or volatile keywords.

Table of Contents

Other manuals for Crestron SIMPL+

Related product manuals