>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  FILE_SEARCH2

FILE_SEARCH2

FILE_SEARCH2

Name


      FILE_SEARCH2

Purpose


      Find files and sort them.

Category


Calling Sequence


      f = file_search2(pat)

Inputs


      pat = filename or wildcard pattern. in

Keyword Parameters


Keywords


        DIR=dir Directory or array of directories to search.
        /SORT means sort file names numerically.
        COUNT=c Returned number of files found.

Outputs


      f = sorted array of found file names. out

Common Blocks


Notes


      Note: Any file_search keywords may be given.
        Without the keywords DIR or /SORT this routine has
        very nearly identical speed to file_search.

Modification History


      R. Sterner, 2003 Jan 06
      R. Sterner, 2004 Jul 19 --- Added keyword DIR=dir.
  Copyright (C) 2003, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us