QLIST procedure
Gets the user to select a response interactively from a list (R.W. Payne).
Option
Parameters
Description
The QUESTION directive provides a convenient way of getting the user to choose a response from a short list. However, the size constraints of the standard computer screen mean that this does not work effectively for lists of more than about 16 items. QLIST overcomes this limitation by repeated calls of QUESTION. Each call displays 16 choices, together with the option of exiting without making a selection or, after all the choices have been displayed, of repeating the list.
Option: HELP.
Parameters: ALTERNATIVES, CODES, PREAMBLE, CHOICE, NCHOICE.
Method
QLIST makes repeated use of the QUESTION directive until a response is obtained.