Compiler Messages

Error messages generated by the COMPILE or BASIC verbs are printed along with the error number and the cause of the error when not self-explanatory.

When a compile-time error occurs, the error number is printed followed by the line number in which it was found and the associated error message. For example:

[B115] LINE 2 LABEL BELL IS USED BEFORE THE EQUATE STMT

Error number B115 was detected on line 2 of the program. The error message is taken from the system ERRMSG file.

See the Guide to mvBase Files and Accounts for more information about the ERRMSG file.

DATA/BASIC Compiler Error Messages:

Error #

Error Message

Cause

B100

COMPILATION ABORTED; NO OBJECT CODE PRODUCED

Compilation was not completed. This message is printed after all other error messages, to warn the user that the object code was not updated.

B101

MISSING "END", "NEXT", "WHILE", "UNTIL", "REPEAT", OR "ELSE"; COMPILATION ABORTED, NO OBJECT CODE PRODUCED

 

B102

BAD STATEMENT

The statement was not recognized as a valid mvBASIC statement.

B103

LABEL 'LABEL' IS MISSING

Label indicated by GOTO or GOSUB was not found.

B104

LABEL 'LABEL' IS DOUBLY DEFINED

More than one statement was found beginning with the same label.

B105

'ARRAY' HAS NOT BEEN DIMENSIONED

Variable ARRAY was referred to with dimensioned array syntax, but was not dimensioned in the program.

B106

'ARRAY' HAS BEEN DIMENSIONED AND USED WITHOUT SUBSCRIPTS

Dimensioned array ARRAY was used without subscripts.

B107

"ELSE" CLAUSE MISSING

A FOR loop was begun without a corresponding NEXT statement.

B108

"NEXT" STATEMENT MISSING

 

B109

VARIABLE MISSING IN "NEXT" STATEMENT

Iteration variable is missing in NEXT statement.

B110

END STATEMENT MISSING

 

B111

"UNTIL" OR "WHILE" MISSING IN "LOOP" STATEMENT

 

B112

"REPEAT" MISSING IN "LOOP" STATEMENT

 

B113

TERMINATOR MISSING

Garbage following a legal statement, or quote missing.

B114

MAXIMUM NUMBER OF VARIABLES EXCEEDED

Using the default descriptor size of 10, the maximum number of variables (including array elements) is 15,990.

B115

LABEL 'VAR' IS USED BEFORE THE EQUATE STMT

The equate-variable VAR is referenced before it has been defined.

B116

LABEL 'VAR' IS USED BEFORE THE COMMON STATEMENT

COMMON variable VAR has been referenced before it has been defined.

B117

LABEL 'ARRAY' IS MISSING A SUBSCRIPT LIST

Dimensioned array is referenced without a subscript list.

B118

LABEL 'VAR' IS THE OBJECT OF AN EQUATE STMT AND IS MISSING.

 

B119

WARNING - PRECISION VALUE OUT OF RANGE - IGNORED!

A PRECISION statement specified a value other than 0 through 9.

B120

WARNING - MULTIPLE PRECISION STATEMENTS - IGNORED!

When two PRECISION statements are included, only the first one is read.

B121

LABEL 'C' IS A CONSTANT AND CAN NOT BE WRITTEN INTO

The program attempted to assign an EQUATEd variable to another value.

B122

LABEL 'C' IS IMPROPER TYPE

 

B124

LABEL 'ARRAY' HAS LITERAL SUBSCRIPTS OUT OF RANGE

An attempt has been made to access an element of a dimensioned array beyond its dimensions.

B154

FOR STATEMENT WITH NO NEXT STATEMENT

 

B209

FILE IS UPDATE PROTECTED

 

B210

FILE IS ACCESS PROTECTED

 

B220

'CSYM' IS NOT A FILE NAME OR NEEDS A DATA LEVEL

 

B300

LINE A AN ATTEMPT HAS BEEN MADE TO BREACH THE SOFTWARE SECURITY FEATURE. PLEASE CONTACT YOUR DEALER FOR ASSISTANCE

 

B1001

COMPILER STACK ERROR!

Indicates a compiler stack problem, and is usually accompanied by a program syntax error message.

See Also

Appendix A: Error Messages

Run-time Messages

Debugger Messages

mvBASIC Tape and Floppy Disk Error Messages