2000-OSM, F1
10-41
VistaNET Commands
Since VistaNET commands are interlinked, these commands have little meaning shown as
independent commands. See "Vista Basic Support for VistaNET Communications" in Section 2 for an
explanation of this command structure.
ERROR MESSAGES
Compilation Error Messages
Invalid Integer Constant:
An integer constant is too large. Integer constants must be in the range
from -32768 to 32767.
Invalid Floating Point Constant:
Floating Point constant does not conform to proper syntax.
String Too Long:
String constant contains more than 255 characters. Reduce the number of
characters within the string and make sure the string constant ends with the double quotation mark
(”).
Illegal Character:
A character not recognized by the compiler has been encountered. This error
should not occur and should be reported to ABB Lewisburg.
Syntax Error:
The compiler has encountered something which does not conform to the rules for
proper syntax of the language. A major cause for this diagnostic message is the incorrect spelling of
commands and keywords, as well as, other typographical errors, such as missing commas or
parentheses.
Data Type Mismatch:
An expression contains operands which are not of the same data type. If the
expression contains floating point operands, then all of the operands must be floating point or
converted to floating point. Expressions with integer operands must contain all integer operands or
conversions to integer type. Another cause for this error occurs when an argument passed to a
command or function does not agree with the data type expected for the parameter.
Array Not Defined:
A variable contains a subscript when the variable has not previously been
declared as an array with the DIM statement. All arrays, with the exception of the COMMON! array,
must be declared in a DIM statement.
Number of Arguments:
The number of arguments passed to a command or function does not agree
with the number expected.
Duplicate Declaration:
This error occurs when an attempt is made to name a variable to a name
already used for a command or function. The error can also occur in a DIM statement when the
variable name is already in use by another variable, or by a function or command.
Unreachable Statement:
An attempt has been made to branch to a statement that does not exist.
For instance, a GOTO or GOSUB statement contains a statement number that does not otherwise
exist in the source program. Confusing Line numbers with Statement numbers might be a cause for
this error. Line numbers are not interpreted by Vista BASIC and are used strictly for editing purposes.
A Statement number is a number at the beginning of a statement in the statement field of the source
program.
Insufficient Memory:
Not enough free memory exists for the compiler to operate properly. The
corrective action is to retry the compilation when more free memory is available.
Restriction: Code Size:
An implementation restriction that limits the number of object code
instructions has been exceeded. The corrective action is to reduce the number of statements in the
source program.