Re: END statement [message #25160] |
Mon, 21 May 2001 07:38  |
Liam E. Gumley
Messages: 378 Registered: January 2000
|
Senior Member |
|
|
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/
|
|
|
Re: END statement [message #25161 is a reply to message #25160] |
Mon, 21 May 2001 07:48  |
thompson
Messages: 584 Registered: August 1991
|
Senior Member |
|
|
Reimar:
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:
> 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.h tml
> http://www.fz-juelich.de/zb/text/publikation/juel3786.html
> ============================================================ ======
> read something about linux / windows
> http://www.suse.de/de/news/hotnews/MS.html
|
|
|