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

# GENGUWIN.PUB

GENGUWIN.PUB is a public program that displays inquiry windows in GUI mode. This program is CALLed only by GENGUINP.PUB.

`0100 ENTER Z9$,WINDID$,RETVAL$,SELVAL$,COMPID$,FILE[ALL],OSGUI$,GENINPUT$,FLD_LEN`

Variable | Description
Z9$ | Unused
WINDID$ | Window ID of the inquiry window record in the xxWIND file
RETVAL$ | Starting value for entries in the window—set to the selected value when GENGUWIN.PUB exits
SELVAL$ | Selection value for limiting the entries that appear in the window
COMPID$ | Unused
FILE[ALL] | Standard file array used for the data file channel number
OSGUI$ | GUI template (see GENGURES.PUB for more detail)
GENINPUT$ | GENINPUT template for miscellaneous functions (see GENINPUT for more detail)
FLD_LEN | Length of current field entry field (GENINPUT X4)

Exit Points | Explanation
EXIT | GENGUWIN.PUB normally exits with no error.
EXIT ERR | An error is returned if an error occurs.

For a detailed explanation on how GENGUWIN.PUB works, see the section on GENWIND.PUB.