BASIC.80 Error Codes

BASIC-80

Table A-I. BASIC-SO Error Codes (Cont'd.)

Error

 

Description

 

Number

 

 

 

 

Missing operand

An operator was given without an operand.

 

22

line buffer overflow

A program or data line has too many characters

 

23

 

for the line buffer. Divide into two or more parts.

 

 

FOR without NEXT

A FOR statement was found without a

 

24

 

corresponding NEXT

 

FIELD overflow

More than 128 characters were allocated in a

 

50

 

FIELD statement.

 

 

Internal error

An error occurred in BASIC-80 internal execution.

 

51

 

If this error cannot be accounted for, contact your

 

 

 

Intel representative.

 

 

Bad file number

An unopened file was referenced.

 

52

File not found

A LOAD, KILL, or OPEN statement referenced a

 

53

 

file not found on the specified disk.

 

 

Bad file mode

One of the following conditions apply:

 

54

 

1.

The file mode is other than I, 0, or R.

 

 

 

2.

PUT or GET to a sequential file.

 

 

 

3. Opening a random file for sequential output,

 

 

 

 

or vice versa.

 

 

 

4.

Performing a PRINT to a random file.

 

 

File already open

An attempt to open an already opened file was

 

55

 

made.

 

 

Disk 1/0 error

A disk 1/0 error has occurred on disk (x); this

 

57

 

means a sector read check failed 18 times.

 

 

File already exists

File already exists.

 

58

Disk full

All disk space is full. Delete old files or try new

 

61

 

disk.

 

 

 

Input past end

An INPUT statement has been given after the

 

62

 

end-of-file; check INPUT operations with the EOF

 

 

 

function.

 

 

Bad record number

The record number in a PUT or GET is >2048 or <O.

 

63

 

Bad file name

An invalid ISIS-II filename was given.

64

Direct statement in file

A direct statement was found while loading a

66

 

program into BASIC-80. The LOAD is terminated.

 

 

Too many files

An attempt to open a new file after 6 files were

67

 

opened.

 

 

 

 

 

 

 

A-2

Page 80
Image 80
Intel 9800758-02 manual Table A-I. BASIC-SO Error Codes Contd