Pause

Provides a message to user. User may cancel processing.

Syntax:

Pause (title, text)

Parameters:

(s) title title of pause box.

(s) text text of the message to be displayed.

Returns:

(i)  always 1.

 

This function displays a message to the user with an exclamation point icon. The user may respond by selecting the OK button, or may cancel the processing by selecting Cancel.

The Pause function is similar to the Message function, except for the addition of the Cancel button and icon.

Example:


Pause("Change Disks", "Insert new disk into Drive A:")

which produces:

will-z2_shg.gif

 

See Also:

Display, Exit, Message, Terminate