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

Home » Public Forums » archive » workbench stops responding
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
workbench stops responding [message #67554] Fri, 31 July 2009 12:42
David DeGraff is currently offline  David DeGraff
Messages: 2
Registered: July 2009
Junior Member
I'm getting some strange behavior in 7.1 Running the program, PRINT
commands stop displaying to the Command window. After the program
terminates, the lines all get printed, but typing commands into the
command line produces no effect and I have to quit the workbench and
start it back up.

It happens when I read a large file with readcol (about a thousand
lines with format 'd, f, f' ) The problem shows up when I enter a
"CASE" loop.
pro stuckprint
compile_opt idl2
infile=dialog_pickfile()
readcol,infile,jd,mag,err, /silent, format='d,f,f'
print, "this line"
print,"Another line"
pp=''
repeat begin
Print, "type a command, q to quit"
read, pp, prompt="what?"
print, "you typed ", pp
endrep until pp eq 'q'
print, "it's all over"
end


readcol is in the astronomy library by W. Landsman

It runs fine in IDL 6.3.
And everything is fine is I make up 100 data points.

Thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: pixel value to x and y position
Next Topic: Re: A strange error with WHERE

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

Current Time: Wed Oct 08 17:32:30 PDT 2025

Total time taken to generate the page: 0.00479 seconds