CompileErrors/A0027

From Compost Wiki
Revision as of 22:33, 25 March 2015 by Danielr (talk | contribs) (Created page with "{{CompileError |errortext = A0027 - Unexpected root-level boolean command <command> |description = A0027 is issued when a boolean command is found at the root level (where it ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A0027 - Unexpected root-level boolean command <command>

Description

A0027 is issued when a boolean command is found at the root level (where it would output into the NCF stream). Boolean commands should only be entered as part of a boolean stack (such as following IF, ELSEIF, WHILE, SETFLAG, or the like).

Example of Cause

AAxisAvail? is present by itself (without IF or another command that opens a boolean stack.

AAxisAvail? { A0027 - Unexpected root-level boolean command AAXISAVIAL? }

Resolution

Remove the token or open the desired boolean stack.

IF AAxisAvail? { No error }

END