10, DUPLICATE DEFINITION

Commodore Amiga

Severity: Minor

What 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

  1. Put DIM and OPTION BASE at the start of the program, where they run only once.

  2. Is DIM inside a loop or a subroutine that runs twice?
    Move it out, or use ERASE first.