UTILS\MENU.DOC  ·  DOC  ·  1.3 KB  ·  1991-04-01  ·  from WhatPC_Issue-21_Apr-1991
   MENU - Ny Mike Williams
   ───────────────────────

   MENU is a batch program  that  allows  you  to easily create simple
   'light bar' menus, without having to  pad  out your batch file with
   loads of ERRORLEVEL tests.

   The command format is

        MENU title;option1;option2;option3;option4 ...

   Where:       title   = the menu title
                option1 = the first option to be listed
                option2 = the second option to be listed
                etc....

   On seeing a menu, you may:

        a) Use the cursor keys to move the 'light bar'.
        b) Press the first letter of the required option.
        c) Press HOME or END to move to the bottom or top of the menu.

   An option is finally selected by pressing ENTER.

   On exiting a menu, MENU sets an environment variable O to a value.

   The value may be :-

        255 = The parameters supplied to MENU were incorrect.
         99 = Escape was pressed
        1-x = The number of the option selected.

   NOTE: MENU sees a ; as a  delimiter.  You  CANNOT include a ; in an
   option name, or a menu title !

   You can create a 'separator' line  by including an equals sign (=).
   DO NOT include an equals sign otherwise!










Press any key to continue...