Software
®
316
SIMPL+
Compiler Error 1314
declaration error: Minimum array size is not allowed for this
Minimum array sizes are only applicable to Input and Output datatypes (i.e.:
DIGITAL_INPUT, ANALOG_OUTPUT, STRING_INPUT, etc.). A variable of
another datatype was found trying to define a minimum array size. Only one array
for each Input or Output datatype is allowed to be declared with a minimum array
size.
The following are examples of this error:
DIGITAL_INPUT digIn1[10];
DIGITAL_INPUT digIn2[10,5];
DIGITAL_INPUT digIn3[20,10]; // error – the DIGITAL_INPUT
array
ANALOG_INPUT anlgIn1[10];
ANALOG_INPUT anlgIn2[10,5]; // ok – no other ANALOG_INPUT has
been
array size
INTEGER x[10];
INTEGER y[10,5];
datatype: '<identifier>'
Minimum array size for this datatype
has already been declared: '<identifier>'
// ok
// ok – minimum size is 5
//
variable, digIn2, has already
//
been declared with a minimum
//
// ok
//
// ok
// error – INTEGER is not an Input or
//
Language Reference Guide - DOC. 5797G
Crestron SIMPL+
array size
declared with a minimum
Output datatype
®