18, UNDEFINED USER FUNCTION

Commodore Amiga

Severity: Minor

What it means

Amiga BASIC error 18.
Commodore's manual: a user-defined function is called before the function definition (DEF statement) is given.

Affected Models

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

How to Fix It

  1. Put the DEF FN line at the start of the program.

  2. Check the spelling of the function's name.