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

Home » Public Forums » archive » Re: file_lines and expand path
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: file_lines and expand path [message #49632 is a reply to message #49630] Fri, 04 August 2006 09:39 Go to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
FL wrote:
> Hi,
>
> I am implementing file_lines in FL and was wondering what to return when
> the input path expands to multiple files. The IDL reference guide says
> nothing. I have run IDL and got curious result:
>
> IDL> help, file_lines('*.pro')
> <Expression> LONG64 = 15
>
> I have 448 .pro files in the current directory, with a total of 10k lines.
> IDL seems to be randomly picking a single file and reporting its length
> (probably the first match in readdir()).
>
> What do you expect to get?
>
> Possibilities:
>
> 1. never expand (but why do we have NOEXPAND then?)

So that you can open files which have names containing characters that
happen to be wildcard characters.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: nearest number
Next Topic: Re: CXFORM on WinXP

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

Current Time: Wed Oct 08 14:56:04 PDT 2025

Total time taken to generate the page: 0.00405 seconds