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

Home » Public Forums » archive » Re: Problem with READ procedure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Problem with READ procedure [message #39264] Thu, 29 April 2004 13:32
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Francois Leduc writes:

> I am using the READ procedure to get a variable value from the prompt.
>
> I use it 3 times in my code.
>
> The first time, it works, then on the second time, it does not work any
> more.
>
> ------------------------------------------------------------ ----
> The first time:
> rep = ' '
> READ, PROMPT='Number of classes to process: ', rep
> Nb_class = uint(rep)
>
> The second time:
> READ, rep, PROMPT='Shape:'
> shape = uint(rep)
> ------------------------------------------------------------ ----
>
> On the second time, the program keeps running without waiting for the user
> to enter a value.
>
> What is wrong ?

Are you *sure* this program doesn't work? Does it look
just like this in your *real* program? I think you have
tossed us a red herring, here. :-)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http:/www.dfanning.com/
Phone: 970-221-0438, IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problem with READ procedure
Next Topic: IDL 6.0.x crashes on mac os x?

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

Current Time: Sun Oct 12 09:02:22 PDT 2025

Total time taken to generate the page: 1.04120 seconds