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

Home » Public Forums » archive » Re: We have file_lines for lines in IDL. What about file_rows?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: We have file_lines for lines in IDL. What about file_rows? [message #53231] Wed, 28 March 2007 09:42
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
DirtyHarry writes:

> I know there is an excellent functions to count the number of lines of
> data file...
>
> What about file_rows? Is there any functions to check the number of
> rows?
>
> If there is no functions, what can I do if I want to have the number
> of rows of a big data file, for example, (*, 169245)? I found the
> number of lines using file_lines function. The number of rows around
> 100, but I need the exact number. Do I have to count one by one?

Uh, rows *are* lines. Perhaps you are looking for columns.
Here is an article:

http://www.dfanning.com/fileio_tips/read_columns.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Previous Topic: We have file_lines for lines in IDL. What about file_rows?
Next Topic: Reading JPEG data

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

Current Time: Fri Oct 10 08:02:12 PDT 2025

Total time taken to generate the page: 0.00542 seconds