Allowing the User to Cancel the Query Operation
The query-by-example application demonstrates methods used to allow users to cancel an interactive dialog statement using predefined actions and conditional logic.
You can handle user Cancel actions or interrupts gracefully during interactive dialog
instructions such as
CONSTRUCT
, using the built-in global integer
variable INT_FLAG
and the DEFER INTERRUPT
statement.
Use conditional logic statements to test for user cancel or interrupt actions and
specify statement blocks to execute conditionally based on the results.