qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
FileRec
  Dos Unit Contents Index                                   Back
 
  TYPE
      { record for typed and untyped files }
      FileRec = RECORD
          Handle   : Word;    { DOS file handle }
          Mode     : Word;    { access mode (FMxxx constants) }
          RecSize  : Word;
          Private  : ARRAY[1..26] OF Byte;    { reserved }
          UserData : ARRAY[1..16] OF Byte;
          Name     : ARRAY[0..79] OF Char;    { full name of file }
          END;
 
  Unit:  Dos
 
  Description
 
    The FileRec type makes available the internal definition of a typed
    or untyped file.
 
    To examine the fields for a particular file, typecast the file
    variable associated with the file to the type FileRec.
 
    The Name field is a null-terminated string. To examine Name, assign
    it to a variable of type CSTRING.