MGunit documentation

Unit testing for IDL

single page | use frames     summary     class     fields     routine details     file attributes

cmdline_tools/

mg_file_which.pro


top mg_file_which

result = mg_file_which( [path], file [, /include_current_dir] [, /all])

Wrapper for FILE_WHICH, but has an ALL keyword to find all matches.

Return value

strarr

Parameters

path in optional type=string

path to search, delimited by path_sep(/search_path)

file in required type=string

file to search for, may include wildcards

Keywords

include_current_dir in optional type=boolean

set to include current directory in the search path

all in optional type=boolean

set to return all matches instead of just the first one

File attributes

Modification date: Sat Feb 5 10:59:49 2011
Lines: 51
Docformat: rst rst