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 16H (decimal 22) opens an empty file with a specified name. If
  the file exists in the current directory, function 16H truncates it to
  zero length. If the file does not exist, function 16H creates a directory
  entry for the new file. As with the other FCB-based file functions, you
  call function 16H with DS:DX pointing to an FCB containing the name of the
  file. The function returns AL = 00H to indicate successful operation. If
  AL = FFH, the function failed, possibly because the filename you specified
  in the FCB is not valid.

  If you want to avoid inadvertently losing the contents of an existing
  file, you should determine if the file already exists by calling function
  11H before you use function 16H.

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