Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®
Compiler Error 1607
construct error: GetLastModifiedArrayIndex may return an
ambiguous signal index
If an event function (EVENT, PUSH, CHANGE, RELEASE) is acting on more than
one input array signal, the specific array will not be able to be determined based on
the index returned from GetLastModifiedArrayIndex(). In order to use
GetLastModifiedArrayIndex() for multiple input signal arrays, a separate event
function will have to be defined for each array.
The following are examples of this error:
DIGITAL_INPUT digIn[10];
ANALOG_INPUT anlgIn[10];
PUSH digIn
{
INTEGER i;
i = GetLastModfiedArrayIndex();
}
PUSH anlgIn
{
INTEGER i;
i = GetLastModfiedArrayIndex();
}
CHANGE digIn, anlgIn
{
INTEGER i;
i = GetLastModfiedArrayIndex(); // error – ambiguous result
}
Compiler Error 1608
construct error: Missing library file name
A filename was not found following the compiler directive, #USER_LIBRARY or
#CRESTRON_LIBRARY. This filename must be enclosed within quotation marks.
The file extension (.usl or .csl) should NOT be used when specifying the filename.
The following are examples of this error:
#USER_LIBRARY "MyUserLib"
#CRESTRON_LIBRARY "EvntSched" // ok
#USER_LIBRARY MyUserLib
#USER_LIBRARY MyUserLib.usl
marks and
// ok – index from digIn
// ok – index from anlgIn
// ok
// error – missing quotation marks
// error – missing quotation
//
extension is not allowed
Software
®
SIMPL+
331
Need help?
Do you have a question about the SIMPL+ and is the answer not in the manual?
Questions and answers