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

Home » Public Forums » archive » Re: FindFile for more than one filetype
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: FindFile for more than one filetype [message #28579 is a reply to message #28578] Thu, 20 December 2001 13:03 Go to previous message
Richard Tyc is currently offline  Richard Tyc
Messages: 69
Registered: June 1999
Member
> for yr = 1981, 2000 do begin
>
How about something real simple like this to replace AND:

filelist = FINDFILE(outpath + string(yr, FORMAT = '(I4.4)')
+ '*'+ '_average.int', COUNT=filecount)
if filecnt NE 1 then break;

filelist = [ filelist, FINDFILE(outpath + string(yr+1, FORMAT = '(I4.4)')
+ '*'+ '_average.int', COUNT=filecount) ]
if filecnt NE 1 then break;

> endfor

Rich
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Pointer syntax and IDL 4.0: summary
Next Topic: Wiener filter

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

Current Time: Sun Nov 30 12:22:34 PST 2025

Total time taken to generate the page: 0.96169 seconds