Illegal function call
This page was last modified 01:13, 22 May 2020 by Mars2000you. Based on work by Sander.

An out of range parameter was passed to a string or math function. This error might also occur with:

1. A negative value to SQR
2. Negative or zero argument with LOG
3. Negative or very large subscript
4. Wrong arguments to PEEK, POKE, TAB, MID$, LEFT$, RIGHT$, SPC, STRING$(), SPACE$(), INSTR, OUT or ON...GOTO

Error code

5