CompileErrors/A0027
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