CompileErrors/A0019: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Danielr (talk | contribs)
Created page with "{{CompileError |errortext = A0019 - Subroutine name <subroutine> is also a keyword; this will lead to ambiguous calls! |description = A0019 is issued when subroutine is declar..."
 
Danielr (talk | contribs)
No edit summary
 
Line 3: Line 3:
|description = A0019 is issued when subroutine is declared with the same name as a keyword.  This can lead to unpredictable behavior.
|description = A0019 is issued when subroutine is declared with the same name as a keyword.  This can lead to unpredictable behavior.
|exampletext = [[CRCOn]] is a command.
|exampletext = [[CRCOn]] is a command.
|examplecode = CRCOn: { A0019 - Subroutine name TOOLTYPE? is also a keyword; this will lead to ambiguous calls! }
|examplecode = CRCOn: { A0019 - Subroutine name CRCON is also a keyword; this will lead to ambiguous calls! }


RETURN
RETURN

Latest revision as of 02:22, 14 January 2015

A0019 - Subroutine name <subroutine> is also a keyword; this will lead to ambiguous calls!

Description

A0019 is issued when subroutine is declared with the same name as a keyword. This can lead to unpredictable behavior.

Example of Cause

CRCOn is a command.

CRCOn: { A0019 - Subroutine name CRCON is also a keyword; this will lead to ambiguous calls! }

RETURN

Resolution

Rename the subroutine.

TurnCRCOn: { No error }

RETURN