CompileErrors/A0009

From Compost Wiki
Revision as of 22:51, 13 January 2015 by Danielr (talk | contribs) (Created page with "{{CompileError |errortext = A0009 - Too many arguments in argument group; terminating group here. Did you forget a ')'? |description = A0009 is issued an argument group fails...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A0009 - Too many arguments in argument group; terminating group here. Did you forget a ')'?

Description

A0009 is issued an argument group fails to end when expected. It normally indicates a missing ending parenthesis (')'). You will usually receive an A0001 prior to this error.

Example of Cause

The argument to IF in this example has a starting parenthesis, but the ending parenthesis is missing.

IF (TRUE { A0009 - Too many arguments in argument group for IF; terminating group here. Did you forget a ')'? }
'Output me'
END

Resolution

Add a closing parenthesis in the correct place.

IF (TRUE) { No error }
'Output me'
END