[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
     These file record types are used in the DOS unit for file operations.
     Typed and UnTyped files use the FileRec definition while Text files
     use the TextRec definition.

                        Typed and UnTyped Files
       ------------------------------------------------------------

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



                            Text File Record
       ------------------------------------------------------------

                        TextBuf = Array[1..127] of Char;
                        TextRec = Record
                           Handle     : Word;
                           Mode       : Word;
                           BufSize    : Word;
                           Private    : Word;
                           BufPos     : Word;
                           BufEnd     : Word;
                           BufPtr     : TextBuf;
                           OpenProc   : Pointer;
                           InOutProc  : Pointer;
                           FlushProc  : Pointer;
                           CloseProc  : Pointer;
                           UserData   : Array[1..16] of Byte;
                           Name       : Array[1..79] of Char;
                           Buffer     : TextBuf;
                        end;

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