CompileErrors/A0024

From Compost Wiki
Jump to navigation Jump to search

A0024 - An argument group was required but not found for keyword or function <token>

Description

A0024 is issued when the compiler is set to require argument groups for all keywords (aka "Strict Parenthesis Mode").

Example of Cause

NUM# takes an argument, but it's not in a group.

NUM# '1.0' { A0024 - An argument group was required }

Resolution

Add parentheses around the argument group.

NUM#('1.0') { No error }