AppCtrlScript

MAY Computer

Help

ADDWARNING

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Primary

See also  

CLEARWARNINGS, ADDERROR

Produces a warning with message text and information.

Use this if you want to produce a warning to let the user know that something in your logic is probably not as it should be. During processing warnings are usually logged into a logfile where an administrator can have a look at.

Syntax

ADDWARNING <Message>[, <Subject>][, <Info>][, <WarningNumber>]

Part

Description

<Message> Primary message text.
<Subject> A subject to which the warning applies (should be an id of the main item you are dealing with.)
<Info> Any important or probably for the user interesting information that could help to find the problem and a solution.
<WarningNumber> An warning number if applicable. Should be between 6500 and 6999 if it is not a system error number.