Ŀ
   Menubar                                    1.2  (c) Jim Davis   


        THIS IS FREEWARE.  Enjoy.  Send money if you want to, I won't
      argue.


   Syntax:


     MENUBAR [/Cxxxxxxxx] [/Dnnn] [/Gx] "Prompt:" <choice> <choice>

     /Gn    Where `n' is one of N, M, C, or R (graphics mode)
     /Dn   - Timeout Delay, `n' is in seconds
     /C... - Color assignments (see below)
    
     Returns an errorlevel equal to the number of the choice made.
     Example:
    
     MENUBAR "What kind of soda?" Pepsi Coke Cru~sh "Root Beer" Other
    
     If `Pepsi' is chosen, the errorlevel is 1.  If `Other,' the
     errorlevel is 5.


   Explanation of Choices

        MENUBAR normally highlights the FIRST CHARACTER of a choice,
      and uses that as the hotkey for choosing it.  However, if you 
      include a tilde character (~) in your choice, the letter after
      it will be highlighted.  For instance, "Gran~ular" would higlhight
      the `u'.  Don't put a tilde at the END of the choice!  It'll
      bugger up royally.


   Explanation of Colors

        /Cxxxxxxxx sets the default colors.  After the /C, the first
      two characters determine the `Normal' color, the color used for
      the prompt.  The third and fourth determine the normal choice
      color, the fifth and sixth define the hotkey color, and the
      last two decide the highlighted color.  For instance, the default
      colors are:

                                        ForegroundĿBackground
        Normal: Light Cyan on Black                 B0
        Choice: Light Magenta on Black              D0
        Hotkey: Light Red on Black                  C0
        Select: Bright White on Blue                F1

      It'd look like this on the command-line:

        MENUBAR /Cb0d0c0f1 "Pick one:" Alpha Beta Gamma

      The color codes are like this:

                          Black               0
                                         Blue                1
                                         Green               2
                           BackgroundĴ  Cyan                3
                                         Red                 4
                                         Magenta             5
                                         Brown               6
             ForegroundĴ               Light Grey          7
                                          Dark Grey           8
                                          Light Blue          9
                                          Light Green         A
                                          Light Cyan          B
                                          Light Red           C
                                          Light Magenta       D
                                          Yellow              E
                          Bright White        F


   Author's Address

        Jim Davis                   Hippie Commune BBS
        PO Box 103                  (615) 528-1800
        Baxter, TN  38544           FidoNet: 1:3637/2 
                                      SLNet: 250:312/1005
                                   InterNet: jad7084@tntech.edu

