?AO ERROR

Radio Shack TRS-80 Color Computer

Severity: Minor

What it means

Tandy's Getting Started With Color BASIC manual explains AO as an attempt to open a data file that is already open.
It usually means the program runs an OPEN line twice without a CLOSE in between.

Affected Models

  • Radio Shack TRS-80 Color Computers running Color BASIC

How to Fix It

  1. Find the OPEN line that runs the second time.

  2. Add a CLOSE line before it, such as CLOSE #-1 for the tape recorder, or remove the extra OPEN.

    Tandy's BASIC summary says CLOSE with no device number closes all open files.