Reimar Bauer wrote: > I believe there were some changes to the END statement done. > > idl < input > text.out > > where input is a shell script like > > .run test > test > > and test is a script like > > pro test > for i=0, 1800 do print,i > print,'hallo' > end I normally use % idl input > text.out and it behaves the way I expect it to. Cheers, Liam. http://cimss.ssec.wisc.edu/~gumley/