warning

Examples


The warning statement creates a warning dialog box displaying the specified string.

Syntax

warning expression {with help number context_number}

Parameters

expression – A string field, text field or string or text value with the message to be displayed in the dialog box.

with help number context_number – A long integer specifying a help context number associated with a specific topic in the online help file for the current dictionary. If this parameter is used, a button labeled Help will appear in the dialog box. If a user presses the Help button, the specified help file topic will be displayed.

Comments

The warning dialog box will have one button labeled OK. The window closes automatically after the user clicks OK. The icon displayed is the standard warning icon for the given operating system.


Documentation Feedback