?UNDEF'D STATEMENT ERROR

Commodore Commodore 64

Severity: Minor

What it means

In Commodore's words, an attempt was made to GOTO or GOSUB or RUN a line number that doesn't exist.
The C64 spells it UNDEF'D, short for undefined.

Affected Models

  • Commodore 64
  • Commodore 64C
  • Commodore 128 in C64 mode

How to Fix It

  1. LIST the line in the message and note the line number after GOTO, GOSUB or THEN.

  2. LIST that number to see whether the line is there.

    It may have been deleted, or typed with a different number.

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