[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 APPEND                     Open File for Append                      pp 200

 Syntax:  Append (FileVar) ;

 Type:    Text File

 Form:    Procedure

 Purpose: Open file name Assigned to FileVar to append new data.

 Notes:   The file is opened and the file position pointer is moved to
          the end of the file.  The only operation allowed is the addition
          of new data to the end of the file.


 ----------------------------------------------------------------------------


 Usage:
       TYPE
          FileType = String [80]             ;   { Define record size  }
       VAR
          FileVar  : File of FileType        ;   { 80 byte record type }
       CONST
          FileName : String [8] = 'Name.Ext' ;   { Constant file name  }

       BEGIN
          Assign (FileVar,FileName)          ;   { Assign file name    }
          Append (FileVar)                   ;   { Open for append     }
       END.

See Also: Assign File Of Files Reset ReWrite Seek
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson