Amos Professional Manual  Contents  Index

AMOS Errors


Illegal direct mode
Direct mode only permits you to run certain types of instructions from the command line. All program control instructions such as FOR. .NEXT, IF. .THEN, GOSUB, and GOTO are forbidden. In addition, you are NOT allowed to call any AMOS Professional procedures from direct mode.

Illegal number of parameters
You've entered the wrong number of values in one of your AMOS Professional instructions. You can find the correct syntax using the HELP system. Just position the cursor over the start of the offending instruction, and hit the HELP key from the keyboard.

Included file is not an AMOS program!
The AMOS INCLUDE system is only capable of including runnable .AMOS format programs. You've probably typed the filename wrong.

LOOP without DO
A LOOP command has been found, but there is no DO statement to trigger it off.

Label defined twice
A label or procedure can only be defined once in each program.

Music bank not defined
The music number you are looking for is not in the current music bank.

Music bank not found
There is no music bank.

NEXT without FOR
You have forgotten to precede a NEXT instruction with its FOR command.

No ELSE IF after an ELSE
The ELSE IF statement can only be used between the IF and the ELSE of an IF..ELSE..ENDIF test. You're not allowed to insert it between the ELSE and the ENDIF.

No THEN in a structured test
You cannot use IF ... THEN inside a structured test, but you are allowed to make use of IF ...ELSE IF ... ENDIF.

No jumps allowed in the middle of a loop!
You can only jump out from a loop once you are inside of it. You cannot jump into a loop using a GOTO or GOSUB statement.

Not enough loops to exit
You have specified a larger count of loops than the number of active loops available in your EXIT or EXIT IF command.

Back    Next
12.03.07