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

# GENINFO.PUB

GENINFO.PUB is a public program used for displaying and processing an applications information window menu in text mode.

(Normal Entry Point)

This entry point will display the Shift-F2 Information menu in text mode.

`0090 ENTER APPKEY$,KEYNAME$[ALL],FILE[ALL],O2$,OSGUI$`

Variable | Description
APPKEY$ | List of valid applications to process
KEYNAME$[ALL] | Default keys for each valid application
FILE[ALL] | Standard file array for inquiry and file maintenance
O2$ | Options and interfaces string
OSGUI$ | GUI template (see GENGURES.PUB for more detail)

Exit Points | Explanation
EXIT | GENINFO.PUB normally exits with no error.

GENINFO.PUB reads the record xxINFO in the file xxMNFL. The menu is then displayed, and keyboard commands are processed by a call to the public program RMINFO.PUB.

GET_GUI_INFO_MENU:

This entry point will build the information menu for a GUI menu bar and return it to the calling program.

`15005 GET_GUI_INFO_MENU:`
`15010 ENTER MENUINFO$,O2$`

Variable | Description
MENUINFO$ | String to use in a 'SETMENU' mnemonic. This will contain the informatio menu.
O2$ | Application Options