The OPTIONS INPUT [NO] WRAP instructions defines field wrapping in dialogs.
OPTIONS INPUT [NO] WRAP
By default, an interactive statement such as CONSTRUCT or INPUT terminates when the focus leaves the last field controlled by the dialog instruction.
The OPTIONS INPUT WRAP instruction can change this behavior, causing the cursor to move from the last field to the first, repeating the sequence of fields until the dialog is validated or canceled.
The INPUT NO WRAP option restores the default input loop behavior.
MAIN OPTIONS INPUT WRAP ... END MAIN