10, DUPLICATE DEFINITION
Commodore Amiga
Severity: MinorWhat it means
Amiga BASIC error 10.
Commodore's manual: two DIM statements are given for the same array, or a DIM after the default dimension of 10 has been established, or OPTION BASE after an array was dimensioned.
Affected Models
- Amiga computers with Amiga BASIC, written by Microsoft for Commodore
How to Fix It
-
Put DIM and OPTION BASE at the start of the program, where they run only once.
-
Is DIM inside a loop or a subroutine that runs twice?
Move it out, or use ERASE first.