comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: About file length
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: About file length [message #32728] Tue, 05 November 2002 23:47
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
David Fanning wrote:
> Pavel A. Romashkin (pavel_romashkin@hotmail.com) writes:
>
>
>> Through the throbbing headache, I recall that in 5.5 there is a
>> FILE_INFO that gives all that information without having to open the
>> file. Thanks Jim P. for reminding me of that! Now I can pretend I know
>> something :-)
>
>
> Ah, right. I was looking for that this morning, too.
>
> Cheers,
>
> David
>
> P.S. Let's just say I hope IDL 5.6 has its own help
> file. :-)
>

It has!

Reimar

--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
Re: About file length [message #32733 is a reply to message #32728] Tue, 05 November 2002 13:10 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Pavel A. Romashkin (pavel_romashkin@hotmail.com) writes:

> Through the throbbing headache, I recall that in 5.5 there is a
> FILE_INFO that gives all that information without having to open the
> file. Thanks Jim P. for reminding me of that! Now I can pretend I know
> something :-)

Ah, right. I was looking for that this morning, too.

Cheers,

David

P.S. Let's just say I hope IDL 5.6 has its own help
file. :-)

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: About file length [message #32734 is a reply to message #32733] Tue, 05 November 2002 12:58 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
Through the throbbing headache, I recall that in 5.5 there is a
FILE_INFO that gives all that information without having to open the
file. Thanks Jim P. for reminding me of that! Now I can pretend I know
something :-)
Cheers,
Pavel

David Fanning wrote:
>
> lily_zhang (fengliza@sina.com) writes:
>
>> Would you tell me how to get the length of a file?
>
> There are probably several ways to do this. Here is
> a way I often use:
>
> OpenR, lun, filename, /Get_Lun
> info = FStat(lun)
> Print, info.size
>
> Cheers,
>
> David
Re: About file length [message #32741 is a reply to message #32734] Tue, 05 November 2002 05:14 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
lily_zhang (fengliza@sina.com) writes:

> Would you tell me how to get the length of a file?

There are probably several ways to do this. Here is
a way I often use:

OpenR, lun, filename, /Get_Lun
info = FStat(lun)
Print, info.size

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How to plot many lines simultaneously
Next Topic: Conditional averaging

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:17:44 PDT 2025

Total time taken to generate the page: 0.00806 seconds