Library /sys$common/syshlp/basichelp.hlb
Graphics, LOCATE_CHOICE

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  The LOCATE CHOICE statement accepts a user's selection from a menu.  The
  menu items can be set with the SET INITIAL CHOICE statement.

  Example

  DECLARE LONG marital_status
  SET INITIAL CHOICE  , LIST                                &
                                     ("Single",             &
                                      "Divorced",           &
                                      "Widowed",            &
                                      "Married"             &
                                      "Other")              &
                     : 3
  !+
  !Display menu, set a new initial choice and accept input
  !-
  LOCATE CHOICE , INITIAL 5 : marital_status

  Additional Information (explode) :

  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.