You are here: Development Standards > Routines > General Routines > GENOTHER.PUB

# GENOTHER.PUB

GENOTHER.PUB is a public program for processing the Other Commands key. This program is intended to be used only by GENINPUT.PUB.

`0050 ENTER FILE[ALL],MENUITEM`

Variable | Description
FILE[ALL] | Standard file array
MENUITEM | In GUI mode, the control ID of the menu selected

Exit Points | Explanation
EXIT | GENOTHER.PUB never returns an error.

GENOTHER.PUB displays a character menu and processes the menu(s) in OSMN. This file is maintained by specifying OS for the application code in the Menus function of Resource Manager. After a menu selection is performed, GENOTHER.PUB restores the state of the calling program and EXITs.

In GUI mode, GENOTHER.PUB will only process the selection, because the menu is always built into the current form.