comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Reading from the prompt
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Reading from the prompt [message #50118 is a reply to message #50117] Tue, 12 September 2006 09:50 Go to previous messageGo to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Tue, 12 Sep 2006, Julio wrote:

> Hello... Here goes a simple question. I'm reading a string from the
> prompt using:
>
> B = ''
> ; Read input from the terminal:
> READ, B, PROMPT='Yes (Y) or No (N)?: '
>
> I need to put Y or N and them press ENTER. Is there a way to read Y or
> N without pressing ENTER?
>
> Cheers,
> JĂșlio
>

print, 'Yes (Y) or No (N)?: ' & b=get_kbrd()

but read the warning in the ref. guide.

regards,
lajos
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Reading from the prompt
Next Topic: Re: increase the number of major tickmarks in plots

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 07:31:44 PDT 2025

Total time taken to generate the page: 0.64301 seconds