?UNDEF'D STATEMENT ERROR

Commodore VIC-20

Severity: Minor

What it means

In the words of Commodore's VIC-20 manual, an attempt was made to GOTO or GOSUB or RUN a line number that doesn't exist.
UNDEF'D is short for undefined.

Affected Models

  • Commodore VIC-20

How to Fix It

  1. Note the line number after GOTO, GOSUB or THEN in the line the message names.

  2. LIST the program to see whether that line exists. It may have been deleted or numbered differently.

  3. Change the jump to the right line, or add the missing line.