6, OVERFLOW

Commodore Amiga

Severity: Minor

What it means

Amiga BASIC error 6.
Commodore's manual: the result of a calculation is too large to be represented in Amiga BASIC's number format.
Underflow isn't an error: the result is zero, and the program goes on.

Affected Models

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

How to Fix It

  1. An integer variable (with %)?
    It holds only up to 32767: use a long one (with &), a single (with !) or a double (with #).

  2. Check the calculation for a value that grows without end.