[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Show/ Input Command



On Thu, 19 Mar 1998, Paige McFall wrote:
> We are using SQR 4.0 and Oracle.   We would like to generate a menu in a
> Windows Communication Box that prompts the user for a menu choice.  With
> the input command we have only been able to show 2 lines of the menu
> prompt.  I would like to know if anyone has any suggestions on the best
> way to do this.

Your subject line answers your own question.  Use the show command to set
up the menu options, then use the input command only for the prompt:
  show clear-screen
       (3,5) '1. Option 1'
       (4,5) '2. Option 2'
       (5,5) yadda yadda yaddda
       ....
       (9,5)
  input $menu_choice 'Please select option (1-x)' ...
-----------------------------------------------------------------------
Donald Mellen  | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/
donm@ontko.com |  "In the beginning, there was nothing, which exploded"