[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

END statement



Hi, 


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



In prior versions like idl 5.3 all printed text was
saved to text.out.
Now there are a lot of text is missing.

If you change the 1800 to 300 the text.out file
is empty.

If we set a flush before the end (flush,-1) we got
all print statements into the file.

I believe in idl5.3 there was a flush implemented
to the end statement. 

Reimar

-- 
Reimar Bauer 

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
==================================================================
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.html

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
==================================================================

read something about linux / windows
http://www.suse.de/de/news/hotnews/MS.html