d
i
g
i
t
a
l
digital equipment corporation · maynard, massachusetts
MEMORY ADDRESS
EMA
RUN
OS/8 Basic

Basic compiler errors
Basic runtime errors

Help on other languages and links to main help


        BASIC.SV

@CALLING COMMANDS:
.BASIC
.R BASIC
 
@INTERNAL COMMANDS:
BYE     EXIT FROM BASIC
LIST    LIST CURRENT PROGRAM'S STATEMENTS
NAME    RENAME CURRENT PROGRAM
NEW     PREPARE FOR A NEW PROGRAM
OLD     RETRIEVE AN OLD PROGRAM
RUN     RUN CURRENT PROGRAM
SAVE    SAVE CURRENT PROGRAM
SCRATCH DELETE CURRENT PROGRAM

On startup basic may prompt: NEW OR OLD--.
If you answer new it will prompt for filename to use when saving.
If you answer old it will prompt for filename to load.
Filenames are DEV:FILE with .BA extension the default.

Some versions of basic require the end statement as the last program line
or will give a ME error.  Just put in statement 9999 END

.HELP BCOMP     PRINTS BASIC COMPILER ERROR MESSAGES
.HELP BRTS      PRINTS BASIC RUN-TIME ERROR MESSAGES


        BCOMP.SV        (ERRORS)
 
@ERRORS:
CH      ERROR IN CHAIN STATEMENT
DE      ERROR IN DEF STATEMENT
DI      ERROR IN DIM STATEMENT
FN      ERROR IN FILE NUMBER OR FILE NAME
FP      INCORRECT FOR  STATEMENT
FR      ERROR IN FUNCTION ARGS
IF      ERROR IN IF STATEMENT
IO      I/O ERROR
LS      MISSING EQUALS SIGN IN LET
LT      STATEMENT TOO LONG
MD      MULTIPLY DEFINED LINE NUMBER
ME      MISSING END STATEMENT
MO      OPERAND EXPECTED AND NOT FOUND
MP      PARENTHESIS ERROR
MT      OPERAND OF MIXED TYPE
NF      NEXT STATEMENT WITHOUT FOR
NM      MISSING LINE NUMBER
OF      OUTPUT FILE ERROR
PD      PUSHDOWN STACK OVERFLOW
QS      STRING LITERAL TOO LONG
SS      SUBSCRIPT OR FUNCTION ARG ERROR
ST      SYMBOL TABLE OVERFLOW
SY      SYSTEM INCOMPLETE
TB      PROGRAM TOO BIG
TD      TOO MUCH DATA IN PROGRAM
TS      TOO MANY CHARS IN STRING LITERALS
UD      ERROR IN UDEF STATEMENT
UF      FOR STATEMENT WITHOUT NEXT
US      UNDEFINED STATEMENT NUMBER
UU      USE STATEMENT ERROR
XC      EXTRA CHARS AFTER LOGICAL END OF LINE
  


        BRTS.SV         (ERRORS)
 
@ERRORS:
BO      NO MORE FILE BUFFERS AVAILABLE
CI      INQUIRE FAILURE IN CHAIN. DEVICE NOT FOUND
CL      LOOKUP FAILURE IN CHAIN. FILENAME NOT FOUND.
CX      CHAIN ERROR
DA      ATTEMPT TO READ PAST END OF DATA LIST
DE      DEVICE DRIVER ERROR
DO      NO MORE ROOM FOR DRIVERS
DV      ATTEMPT TO DIVIDE BY 0
EF      LOGICAL END OF FILE
EM      ATTEMPT TO RAISE A NEGATIVE NUMBER TO A REAL POWER
EN      ENTER ERROR
FB      ATTEMPT TO USE A FILE ALREADY IN USE
FC      CLOSE ERROR
FE      FETCH ERROR
FI      ATTEMPT TO CLOSE OR USE AN UNOPENED FILE
FM      ATTEMPT TO FIX NEGATIVE NUMBER
FN      ILLEGAL FILE NUMBER
FO      ATTEMPT TO FIX NUMBER GREATER THAN 4095
GR      RETURN WITHOUT A GOSUB
GS      TOO MANY NESTED GOSUBS
IA      ILLEGAL ARGUMENT IN UDEF FUNCTION CALL
IF      ILLEGAL DEV:FILENAME SPECIFICATION
IN      INQUIRE FAILURE
IO      TTY INPUT BUFFER OVERFLOW
LM      ATTEMPT TO TAKE LOG OF A NEGATIVE NUMBER
OE      DRIVER ERROR WHILE OVERLAYING
OV      NUMERIC OR INPUT OVERFLOW
PA      ILLEGAL ARGUMENT IN POS FUNCTION
RE      ATTEMPT TO READ PAST END OF FILE
SC      STRING TOO LONG AFTER CONCATENATING
SL      STRING TOO LONG OR UNDEFINED
SR      ATTEMPT TO READ STRING FROM NUMERIC FILE
ST      STRING TRUNCATION ON INPUT
SU      SUBSCRIPT OUT OF DIM STATEMENT RANGE
SW      ATTEMPT TO WRITE STRING INTO NUMERIC FILE
VR      ATTEMPT TO READ VARIABLE LENGTH FILE
WE      ATTEMPT TO WRITE PAST END OF FILE



Feel free to contact me, David Gesswein djg@pdp8online.com with any questions, comments on the web site, or if you have related equipment, documentation, software etc. you are willing to part with.  I am interested in anything PDP-8 related, computers, peripherals used with them, DEC or third party, or documentation. 

PDP-8 Home Page   PDP-8 Site Map   PDP-8 Site Search