CompileErrors/A0005

From Compost Wiki
Jump to navigation Jump to search

A0005 - Unexpected infix command: <Keyword>

Description

A0005 is issued when the infix form of a command begins a phrase.

Example of Cause

The infix form of ADD#, "+", is used at the beginning of a phrase.

+ 1 2 { A0005 - Unexpected infix command: ADD# }

Resolution

Place the infix command between its arguments, or use the prefix form of the command.

1 + 2 { No error }

ADD#(1, 2) { No error }