error

Examples


The error statement creates an error dialog box displaying the specified string.

Syntax

error 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 dialog box will have one button labeled OK. The window closes automatically after the user clicks OK. The icon displayed is the standard error icon for the given operating system. The error dialog box is shown in the following illustration:

[spacer]


Documentation Feedback