Compiler Error 1312; Compiler Error 1313 - Crestron SIMPL+ Reference Manual

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

Advertisement

Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®

Compiler Error 1312

declaration error: Array boundary exceeded maximum size
The maximum number of indices for an array is 65535.
The following are examples of this error:
FUNCTION MyFunc()
{
INTEGER int[100], intArr[100][100]; // ok
STRING str[100], strArr[100][100];
INTEGER int[100000];
INTEGER intArr[100000][100];
INTEGER intArr[100][100000];
STRING str[100000];
STRING strArr[100000][100];
STRING strArr[100][100000];
}

Compiler Error 1313

declaration error: Minimum array size invalid
The minimum array size cannot exceed the total size of the array. The minimum
array size must be between 1 and the total size of the array.
The following are examples of this error:
DIGITAL_INPUT digIn1[10];
DIGITAL_INPUT digIn2[10,5];
ANALOG_INPUT anlgIn3[10,0];
STRING_INPUT strIn4[10,20];
exceeds
of 'num_bytes' bytes
// ok
// ok – minimum size is 5
// error – minimum size must be
//
// error – minimum size of 20
//
Software
// ok
// error
// error
// error
// error
// error
// error
greater than 0
total array size of 10
®
SIMPL+
315

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIMPL+ and is the answer not in the manual?

Table of Contents

Save PDF