?TOO MANY FILES ERROR
Commodore Commodore 64
Severity: MinorWhat it means
The C64 Programmer's Reference Guide lists it as KERNAL error 1: too many open files.
Commodore's C128 guide, for the same message, gives the limit: 10 files OPEN at one time.
Affected Models
- Commodore 64
- Commodore 64C
- Commodore 128 in C64 mode
How to Fix It
-
CLOSE each file as soon as the program is done with it.
-
Look for an OPEN inside a loop or a subroutine that never reaches its CLOSE.