AMX NetLinx Studio Instruction Manual page 120

Netlinx design v3.3 or higher
Table of Contents

Advertisement

Building and Debugging Source Code
Compiler Errors (Cont.)
PUSH/RELEASE not allowed
within PUSH/RELEASE
PUSH/RELEASE not allowed
within WAIT
PUSH_CHANNEL not allowed
within WAIT
RELEASE_CHANNEL not
allowed within WAIT
PUSH_DEVICE not allowed
within WAIT
RELEASE_DEVICE not allowed
within WAIT
String constant expected
String constant never ends, EOF
encountered
String literal expected
Subroutine may not call itself
Syntax error
SYSTEM_CALL name not same
as PROGRAM_NAME in <file>
This variable type not allowed
To not allowed within
DEFINE_START
To not allowed within MAINLINE
To not allowed within RELEASE
To not allowed within WAIT
Too few parameters in CALL
Too many Include files
Too many parameters in CALL
Type mismatch in function CALL
Undefined identifier
Unmatched #END_IF
Unrecognized character in input
file
Use SYSTEM_CALL [INSTANCE]
'NAME'
Variable assignment not allowed
here
WAIT not found
108
A PUSH or RELEASE statement was found within a block of code headed by a
PUSH or RELEASE statement.
These keywords are not allowed in a section of code which will be executed due to a
WAIT keyword.
A string is required for the particular operation.
This error occurs if a string literal enclosed in single quotes does not follow the
PROGRAM_NAME keyword.
A string literal is started but never ends.
Add a closing single quotation mark (') to the end of the string.
A string is required for the particular operation.
This error would occur if a string literal enclosed in single quotes does not follow the
#WARN keyword.
A subroutine cannot call itself. It can, however, call a different subroutine.
A syntax error is found in an expression.
In most cases, this error means that a character is out of place or something is
misspelled.
This error occurs when a library file is compiled and the name of the subroutine in the
library file does not match the PROGRAM_NAME string on the first line of the file.
This error occurs when an attempt is made to use an array variable with
DEFINE_LATCHING, DEFINE_TOGGLING, or DEFINE_MUTUALLY_EXCLUSIVE.
These errors occur if the TO keyword is found in an erroneous location.
The TO keyword can only be associated directly with a PUSH statement.
There are not enough parameters being passed to the subroutine.
A program may only contain up to 20 Include files.
There are too many parameters being passed to the subroutine.
A function was called with a parameter of the wrong type. For instance, attempting to
use ITOA with an array as a parameter will result in an error.
An attempt was made to reference an identifier that has not been defined previously
in the program.
An #END_IF keyword was found, but no #IF_DEFINED or #IF_NOT_DEFINED was
previously compiled.
An invalid character was found during compilation.
This error occurs if a SYSTEM_CALL statement is written incorrectly as
SYSTEM_CALL 'NAME' [INSTANCE NUMBER].
Variables may not be assigned a value when they are defined in the
DEFINE_VARIABLE section.
A statement references a WAIT by a name that does not exist.
For example, CANCEL_WAIT 'CASS' will produce this error if there is no WAIT
named CASS.
NetLinx Studio - Instruction Manual

Advertisement

Table of Contents
loading

Table of Contents