workbench stops responding [message #67554] |
Fri, 31 July 2009 12:42 |
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
|
|
|