CompileErrors/A0023

From Compost Wiki
Jump to navigation Jump to search

A0023 - Unknown keyword <keyword>

Description

A0023 is issued when a token is encountered in the file that is unrecognized (not a valid keyword, subroutine, literal, or constant).

Example of Cause

Foobar is not a valid keyword.

Foobar { A0023 - Unknown keyword Foobar }

Resolution

Remove the token, replace it with a valid keyword, subroutine, or constant, or turn it into a literal.

'Foobar' { No error }