[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: misc questions
- Subject: Re: misc questions
- From: "Lodewyck, Joe-CKCTS" <JOLO@CIRCLEK.COM>
- Date: Fri, 1 Nov 1996 10:16:00 -0700
Ray,
I have been giving your dilemma some thought and about the only thing
that I can come up with is that you might want to try and use an input
statement that is ALWAYS passed on the command line that passes a
variable that says whether you are running the program interactively or
by command line. Then just put an IF statement around each SHOW
statement that prints the show if you are running interactively,
otherwise, the SHOW statements won't process.
Hope this is a valid solution for you.
Joe Lodewyck
Certified MITI SQR Instructor and SQR Developer
Arris Technical Services
Email: jlody@arristech.com
----------
> 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 suppress 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?