CompileErrors/A0005: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Danielr (talk | contribs)
Created page with "{{CompileError |errortext = A0005 - Unexpected infix command: <Keyword> |description = A0005 is issued when the infix form of a command begins a phrase. |exampletext = The inf..."
 
Danielr (talk | contribs)
No edit summary
 
Line 4: Line 4:
|exampletext = The infix form of ADD#, "+", is used at the beginning of a phrase.
|exampletext = The infix form of ADD#, "+", is used at the beginning of a phrase.
|examplecode = + 1 2 { A0005 - Unexpected infix command: ADD# }
|examplecode = + 1 2 { A0005 - Unexpected infix command: ADD# }
|resolutiontext = Place the infix command between its arguments, or use the prefix variant.
|resolutiontext = Place the infix command between its arguments, or use the prefix form of the command.
|resolutioncode = 1 + 2 { No error }
|resolutioncode = 1 + 2 { No error }


ADD#(1, 2) { No error }
ADD#(1, 2) { No error }
}}
}}

Latest revision as of 22:28, 13 January 2015

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 }