?NOT INPUT FILE ERROR
Commodore Commodore 64
Severity: MinorWhat it means
Commodore's manual: an attempt was made to INPUT or GET data from a file which was specified to be for output only.
Affected Models
- Commodore 64
- Commodore 64C
- Commodore 128 in C64 mode
How to Fix It
-
CLOSE the file, then OPEN it again for reading.
On tape, secondary address 0 reads and 1 writes: OPEN 1,1,0,"NAME" opens a tape file for reading.
On disk, R at the end of the name reads: OPEN 2,8,2,"NAME,S,R". -
Check that the program reads with the file number of the file it opened for reading.