ALERT Examples
Example 1:
|
|
|
|
This instruction displays a STOP alert box on the screen with the informational message "Program Files Not Found". The alert remains on the screen until the message is acknowledged.
Example 2:
|
|
|
|
This instruction displays a PLAIN alert box on the screen with the question "Do you want subtotals generated?". It then waits until YES, NO or CANCEL is responded. The RESULT field is set based on the response was given.
Example 3:
|
|
|
|
|
|
|
|
The ALERT instruction displays a message that "The AAM file DATAFILE was not found.".
Example 4:
|
|
|
|
|
|
|
|
|
|
|
|
A message box is displayed with the question mark icon, the YES and NO buttons, a message of "Continue searching?" and a window title of "Item not found". Upon return, RESULT will contain a six (6) to indicate yes or a seven (7) to indicate no was selected.
Example 5:
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
This program displays each of the alert types. The user's response to the PLAIN alert is reported using a NOTE alert.
![]() |