36, SUBPROGRAM ALREADY IN USE

Commodore Amiga

Severity: Minor

What it means

Amiga BASIC error 36.
Commodore's manual: a subprogram is called that has been previously called, but has not been ended or exited.
Recursive subprograms are not permitted.

Affected Models

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

How to Fix It

  1. Check that the subprogram doesn't call itself, directly or through another one.

  2. Leave it only with END SUB or EXIT SUB, and not with GOTO.