[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    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(). Expand 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.

    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 FindXXX() functions.

    FindFirst() 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.
    FindNext()  Continues the FindFirst() search until no more files match.
    FindName()  Returns the name of the File found.
    FindSize()  Returns the Size of the File found.
    FindAttr()  Attribute of found file.
    FindDate()  The date.
    FindTime()  I'll let you guess what this returns.

    EXPDEMO.PRG demonstrates usage of FindXXX() functions in the Tree
    display option.

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