[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Put                      Writes Item to a Data File (Standard Pascal)

 Put(DFile : file of <type>);                                            [SP]

    Standard Pascal implements file variables as pointers to <type>. The
    procedure Put writes the buffer to which DFile points out to the
    actual data file. The sequence to get a given item would be:

         DFile^ := Item;
         Put(DFile);

    where Item is a variable of <type>. Turbo Pascal does not implement
    Put. Instead, it uses Write(Dfile,Item) to perform the same operation.

           DFile    A data file.

          <type>    Any type except a file type.

See Also: Write Get
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson