Crestron simpl plus language ref 사용자 설명서

다운로드
페이지 374
Software Crestron 
SIMPL+
®
56 
z SIMPL+
®
Language Reference Guide - DOC. 5797G
LONG_INTEGER
Name:
LONG_INTEGER
Syntax:
LONG_INTEGER <var1>[,<var2>...];
LONG_INTEGER <var1>[size] [,<var2>[size]…];
LONG_INTEGER <var1>[rows1][columns1] 
[,<var2>[rows2][columns2]…];
Description:
The first form declares a long value that is local to this SIMPL+ program. 
LONG_INTEGER values are 32-bit quantities ranging from 0-4294967296.
The second form declares a one-dimensional array of LONG_INTEGER values.
The third form declares a two-dimensional array of 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 LONG_INTEGER array element may be used anywhere a 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) 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.