EXIT MENU instruction

Syntax

EXIT MENU

Usage

EXIT MENU statement terminates the MENU block and continues the program flow with the statement after the menu block.

MENU "Stock"
  ...
  COMMAND "Exit"
     EXIT MENU
END MENU

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