Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Peter Norton Programmer's Guide - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

  Function 12H (decimal 18) finds the next of a series of files, following
  the set-up preparation performed by function 11H. As with function 11H,
  you must call function 12H with the address of an FCB in DS:DX. For
  function 12H, the FCB should be the same as the one you used for a
  successful call to function 11H.

  DOS reports a successful match by returning AL = 00H; if no match exists,
  DOS returns AL = FFH. This lets you combine functions 11H and 12H to
  perform a complete directory search by using the following logic:

  initialize FCB
  call function 11H
  WHILE AL = 0
          use current contents of DTA
          call function 12H

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson