
Building and Debugging Source Code
107
NetLinx Studio - Instruction Manual
Compiler Errors
A "<symbol>" was expected
The compiler is expecting a certain symbol at this particular place.
Active keyword expected
An ACTIVE keyword is not present after a SELECT keyword.
Allowed only in DEFINE_START
A keyword that is only allowed to appear in the DEFINE_START section of the
program was encountered elsewhere.
Attempted CALL to undefined
subroutine
A CALL statement refers to a subroutine that has not been defined with a
DEFINE_CALL statement.
Comment never ends,
EOF encountered
A comment begins but never ends. Place a close comment, * ) at the end of the
unfinished comment.
Conditional compile nesting
too deep
There are too many nested #IF_DEFINED or #IF_NOT_DEFINED conditional
compilation statements. The limit is 20 nested conditional compilation statements.
Constant type not allowed
A constant value was declared as latching, toggling, or mutually exclusive, as shown
below:
DEFINE_CONSTANT
PLAY = 1
DEFINE_LATCHING
PLAY (* Error: PLAY is a constant *)
DEFINE_CALL must have
a name
DEFINE_CALL must have a name after it. For example, DEFINE_CALL 'VHS'.
DEFINE_CALL name already
used
The name of the DEFINE_CALL has already been used.
This name cannot be the same as an already declared identifier of any type.
Device values must be equal
In a range specification, the devices (or their defined identifiers) must be equal. For
example, ([1,1]..[1,5]) is valid; ([1,1]..[2,5]) is not.
Duplicate symbol
Duplicate definitions of variables or constants are found.
All variables and constants must have unique identifiers.
Evaluation stack overflow
Evaluation stack underflow
The expression is too complicated.
Try breaking it up into smaller pieces.
Identifier expected
The compiler is expecting an identifier after a #DEFINE statement or after an integer
declaration in the DEFINE_VARIABLE section.
Identifier is not an array type
A non-array variable was treated as an array.
Include file not found
An INCLUDE statement was encountered, but the specified Include file could not be
found.
Invalid Include file name
A string literal enclosed in single quotes must follow the INCLUDE keyword.
Library file not found
The library file containing the specified SYSTEM_CALL could not be found.
Maximum string length exceeded
String literals are limited in length to 132 characters, including spaces.
Must be char array reference
An array type variable was expected in CREATE_BUFFER,
CREATE_MULTI_BUFFER, or CLEAR_BUFFER.
Must be integer reference
The identifier in question must be an integer.
This error occurs when the third parameter of CREATE_LEVEL is an array or array
element.
NetLinx Compiler failed
RT: -2147417851 ST:1
This error means that the compiler cannot find the line number to even check what
type of error has occurred, so it gives no details on the cause.
If you get this non-descriptive error when compiling and the code contains modules,
check to make sure the module parameters are the right type.
If you're trying to pass in a one-dimension array where the module requires a two-
dimension array, or a CHAR instead of an INTEGER, etc., this error will occur.
Out of memory
The compiler has run out of memory.
Free up memory either by removing any pop-up programs or drivers, by using
extended memory, or by breaking your program into one or more Include files.
Parameter mismatch in CALL
A value or variable passed to a CALL as a parameter is of the wrong type as defined
by the DEFINE_CALL statement.
PROGRAM_NAME must be on
line 1
Move the PROGRAM_NAME= statement to the first line of the program.
Содержание NetLinx Studio
Страница 40: ...Working with Projects 28 NetLinx Studio Instruction Manual...
Страница 148: ...Communication Settings 136 NetLinx Studio Instruction Manual...
Страница 160: ...Working with Online Devices 148 NetLinx Studio Instruction Manual...
Страница 178: ...File Transfer Operations 166 NetLinx Studio Instruction Manual...
Страница 208: ...Tools Menu Options 196 NetLinx Studio Instruction Manual...
Страница 229: ...Setting Program Preferences 217 NetLinx Studio Instruction Manual...