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

Re: misc questions



Ray Ontko wrote:
>
> Howdy!
>
> I'm writing an interactive program that prompts the user for input
> but also allows the input to be given on the command line.  I'm
> using INPUT to obtain the input values.
>
> Does anyone know how to supress the ":  " that appears after an
> INPUT prompt?  I can use SHOW (or DISPLAY) to display the prompt
> before INPUT, but if I do this, my prompt appears even if the
> user puts the input on the command line.  Any work arounds?
>
> Also, is there a way to allow single character input (i.e.,
> without requiring the user to hit the enter key)?
>
> Ray
> ----------------------------------------------------------------------
> Ray Ontko       |  Ray Ontko & Co  |  "Ask me about SQR and the WEB"
> rayo@ontko.com  |  Richmond, In    |  See us at http://www.ontko.com/

Ray,

If you use the "noprompt" qualifier after the INPUT command, it will
not prompt you. Then you can SHOW a prompt of your choice PRIOR to
the INPUT statement.

I am not aware of a way to allow single values WITHOUT a return.


--
**************************************************************************
        Nick Moscaritolo         BBBB
  Principal Programmer/Analyst   B   B
                                 B   B
        BENTLEY COLLEGE          B   B
     MIS Dept./Waverly Hall      BBBB  EEEEE N   N TTTTT L     EEEEE Y
Y
       175 Forest Street         B   B E     NN  N   T   L     E      Y
Y
       Waltham, MA 02154         B   B EEEEE N N N   T   L     EEEEE   Y
(617)891-2542 FAX:(617)891-2150  B   B E     N  NN   T   L     E       Y
 NET: nmoscaritolo@bentley.edu   BBBB  EEEEE N   N   T   LLLLL EEEEE   Y
**************************************************************************