[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 DOS Unit
                             File Record Types

     These file record types are used in the DOS unit for file operations.


     The type, FileRec is used for Typed and UnTyped files while the
     type, TextRec is used for Text files.

                Type
                   FileRec = Record
                                Handle   : Word;
                                Mode     : Word;
                                RecSize  : Word;
                                Private  : Array[1..26] of Byte;
                                UserData : Array[1..16] of Byte;
                                Name     : Array[0..79] of Char;
                             End;


                   TextBuf = Array[0..127] of Char;
                   TextRec = Record
                                Handle     : Word;
                                Mode       : Word;
                                BufSize    : Word;
                                Private    : Word;
                                BufPos     : Word;
                                BufEnd     : Word;
                                BufPtr     : TextBuf;
                                OpenFunc   : Pointer;
                                InOutFunc  : Pointer;
                                FlushFunc  : Pointer;
                                CloseFunc  : Pointer;
                                UserData   : Array[1..16] of Byte;
                                Name       : Array[0..79] of Char;
                                Buffer     : TextBuf;
                             End;

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