EXIT INPUT instruction

Syntax

EXIT INPUT

Usage

The EXIT INPUT instruction terminates the INPUT instruction and resumes the program execution at the instruction following the INPUT block. The dialog is exited immediately.

INPUT BY NAME cust_rec.*
  ...
  ON ACTION exit_now
    EXIT INPUT
  ...
END INPUT

Performing an EXIT INPUT instruction during a dialog is equivalent to canceling the dialog: No field validation will occur, and the AFTER FIELD or AFTER INPUT blocks will not be executed.

EXIT INPUT does not set int_flag to TRUE as when the cancel action is fired.

The EXIT INPUT instruction can only be used in a singular INPUT dialog, it cannot be used in a DIALOG / END DIALOG multiple dialog block.