EasyManua.ls Logo

Crestron SIMPL+ - GetNumArrayRows Function

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...
Crestron SIMPL+
®
Software
Language Reference Guide - DOC. 5797G SIMPL+
®
z 97
GetNumArrayRows
Name:
GetNumArrayRows
Syntax:
INTEGER GetNumArrayRows(STRING | INTEGER ARRAY_NAME);
Description:
Returns the number of rows for two-dimensional arrays.
One-dimensional arrays return 0.
Parameters:
ARRAY_NAME is the array name as determined by the size.
Return Value:
For the data types in the table after this paragraph, the return value of
GetNumArrayRows is shown.
Example:
DIGITAL_INPUT TEST;
INTEGER My_Array[10][20];
PUSH TEST
{
PRINT(“Rows = %d\n”, GetNumArrayRows(My_Array));
}
In this example, Rows = 10 will be printed.
Version:
SIMPL+ Version 2.00
DATA TYPE RETURN VALUE
INTEGER X[size1][size2]
Size 1
SIGNED_INTEGER X[size1][size2]
Size 1
SIGNED_LONG_INTEGER X[size1][size2]
Size 1
STRING X[chars]
Size
STRING_INPUT X[size][chars]
Size
BUFFER_INPUT X[size][chars]
Size

Table of Contents

Other manuals for Crestron SIMPL+

Related product manuals