Signed_Long_Integer - Crestron SIMPL+ Reference Manual

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

Advertisement

Software
®
60
SIMPL+

SIGNED_LONG_INTEGER

Name:
SIGNED_LONG_INTEGER
Syntax:
SIGNED_LONG_INTEGER <var1>[,<var2>...];
SIGNED_LONG_INTEGER <var1>[size] [,<var2>[size]...];
SIGNED_LONG_INTEGER <var1>[rows1][columns1]
[,<var2>[rows2][columns2]...];
Description:
The first form declares a long value that is local to this SIMPL+ program.
SIGNED_LONG_INTEGER values are 32-bit quantities ranging from -
2,147,483,647 to 2,147,483,647.
The second form declares a one-dimensional array of SIGNED_LONG_INTEGER
values.
The third form declares a two-dimensional array of SIGNED_LONG_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_LONG_INTEGER array element may be used anywhere a
SIGNED_LONG_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_LONG_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.
Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®

Advertisement

Table of Contents
loading

Table of Contents