[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 12h (18)        Search for Next Matching File, using FCBs

    Searches the current directory for next matching filename, following a
    Function 11h call or a previous Function 12h call.

       On entry:      AH         12h
                      DS:DX      Pointer to the unopened FCB specified in
                      a previous Function 11h or Function 12h

       Returns:       AL         00h       If another match found
                                 FFh       If no match found

  --------------------------------------------------------------------------

       Warning:       The information needed by Function 12h is destroyed
                      by any operation on the file using the FCB created
                      via Function 11h. Therefore, if you want to search
                      for several files and also do I/O on them, you must
                      save the search information that is stored in the
                      FCB.

See Also: 11h 4Eh 4Fh FCB
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson