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

Home » Public Forums » archive » Re: Determining length of a text file?
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: Determining length of a text file? [message #41008 is a reply to message #40888] Thu, 16 September 2004 16:30 Go to previous message
lingfeng.wen is currently offline  lingfeng.wen
Messages: 1
Registered: September 2004
Junior Member
pestMay@gmail.com wrote in message news:<U1P0d.18575$H83.10215@newssvr27.news.prodigy.com>...
> In IDL v6.1:
>
> n_lines = File_lines(filename)
>
> does what you need.
>
> Ed May

In regard of the old verion of IDL, you can try the 'readf' with loop
until EOF so that you can obtain the exact the line number.

Robin
[Message index]
 
Read Message
Read Message
Previous Topic: browse-kill-ring help
Next Topic: Re: keeping a button widget depressed

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

Current Time: Fri Oct 10 09:57:54 PDT 2025

Total time taken to generate the page: 0.79802 seconds