[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Overview
 About the FindFirst/Next Routines
------------------------------------------------------------------------------

 FindFirst/Next Functions:
 Clipper provides an excellent function for directory lookup, and
 other information about the files on disk. That function is
 Clipper's Directory(). The Expand Library does not seek to replace that
 function, but rather provides the means of building more powerful directory
 lookup functions by providing the primary directory search functions.

 Next to that, The Expand Library provides two ready-to-use functions for
 creating a directory or a file find routine.

 Where Directory() is not powerful, is when one wishes to search for
 directories only. One has to delete the file entries in an Array to do
 that. It also lacks the possiblity to perform recursive searches, which
 become possible with the XPfindXXX() functions. The functions in this section
 have been used for the XPdirTree() and XPfileFind() functions.

    XPfindFirst() locates the first matching file of a given mask. FindFirst
                  initialises the search and uses a variable to store
                  temporary results. Using that variable makes it possible to
                  perform recursive searches.
    XPfindNext()  Continues the XPfindFirst() search until no more files match.
    XPfindName()  Returns the name of the File found.
    XPfindSize()  Returns the Size of the File found.
    XPfindAttr()  Attribute of found file.
    XPfindDate()  The date.
    XPfindTime()  The time.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson