1, NEXT WITHOUT FOR
Commodore Amiga
Severity: MinorWhat it means
Amiga BASIC error 1.
Commodore's manual: a variable in a NEXT statement does not correspond to any previously executed, unmatched FOR variable.
Affected Models
- Amiga computers with Amiga BASIC, written by Microsoft for Commodore
How to Fix It
-
Pair each NEXT with its FOR, and compare the variables.
-
Nested loops: the NEXT of the inside loop must come before the NEXT of the outside loop.
-
Look for a GOTO that jumps into the middle of a loop.