cl_proc() displays the choice list, passes control to the user to read the choice list, and removes the choice list from the screen. To gain more control over when these processes take place, you can call the following low level functions:
|
|
The sequence of cl_up(), cl_rd(), and cl_dn() replaces the call to cl_proc(). The returns for cl_rd() are the same as cl_proc(): AC_EXIT if the user made a selection and AC_QUIT if the user left the choice list without making a selection.
cl_upd() is used to redisplay a choice list after the choice list items have been changed in some way.
Some things to remember about using these low-level functions instead of cl_proc():