NEXTFILE
Name
nextfile
Purpose
Return the next (sorted) filename, from a search path, based upon a pattern.
Description
Category
Miscellaneous
Calling Sequence
result = nextfile(fname [,PATH=path,PATTERN=pattern,/PREVIOUS])
Inputs
fname : Current name to use as the reference. Scalar string.
Optional Input Parameters
Keyword Input Parameters
PATH : Search path. Default is the null string, which implies the
current working directory.
PATTERN : The search pattern. Default is '*.*'
PREVIOUS : If set, search in reverse instead of forward.
Outputs
Keyword Output Parameters
Common Blocks
Side Effects
Restrictions
Procedure
Modification History
Written by Doug Loucks, Lowell Observatory, 2005/10/25