CONTINUE INPUT instruction
CONTINUE INPUT
skips all subsequent statements
in the current control block and gives the control back to the dialog.
This instruction is useful when program control is nested within multiple
conditional statements, and you want to return the control to the
dialog.
If this instruction is called in a control block that is not AFTER
INPUT
, further control blocks might be executed according
to the context. CONTINUE INPUT
instructs the dialog
to continue as if the code in the control block was terminated (i.e.
it's a kind of GOTO end_of_control_block
). However,
when executed in AFTER INPUT
, the focus returns to
the most recently occupied field in the current form, giving the user
another chance to enter data in that field. In this case the BEFORE
FIELD
of the current field will be invoked.
As alternative, use the NEXT FIELD
control instruction
to give the focus to a specific field and force the dialog to continue.
However, unlike CONTINUE INPUT
, the NEXT
FIELD
instruction will skip the further control blocks that
are normally executed.