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

Re: END statement


Yes, that's a bug in IDL 5.4.  (And a real pain too, for those of us who submit
IDL jobs to batch.)  Supposedly it'll be fixed in the next release.

William Thompson

Reimar Bauer <r.bauer@fz-juelich.de> writes:


>I believe there were some changes to the END statement done.

>idl < input > text.out

>where input is a shell script like

>.run test

>and test is a script like

>pro test
>        for i=0, 1800 do print,i
>        print,'hallo'

>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 Bauer 

>Institut fuer Stratosphaerische Chemie (ICG-1)
>Forschungszentrum Juelich
>email: R.Bauer@fz-juelich.de
>a IDL library at ForschungsZentrum Juelich


>read something about linux / windows