#ONWARNING

#ONWARNING(code, action);

codeThe number displayed in the "Code" column of the ECL IDE's Syntax Errors toolbox.
actionOne of these actions: ignore, error, or warning.

The #ONWARNING statement allows you to globally specify how to handle specific warnings. You may have it treated as a warning, promote it to an error, or ignore it. Useful warnings can get lost in a sea of less-useful ones. This feature allows you to get rid of the "clutter."

The ONWARNING workflow service overrides any global warning handling specified by #ONWARNING.

Example:

See Also: ONWARNING