54, BAD FILE MODE

Commodore Amiga

Severity: Minor

What it means

Amiga BASIC error 54.
Commodore's manual: an attempt was made to use PUT, GET or LOF with a sequential file, to LOAD a random access file, or to execute an OPEN with a file mode other than I, O or R.
MERGE gives it too, when the program wasn't saved in ASCII format.

Affected Models

  • Amiga computers with Amiga BASIC, written by Microsoft for Commodore

How to Fix It

  1. Check the mode in the OPEN statement.

  2. MERGE: save that program first with SAVE and the A option.