[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Get                      Gets Item From Data File (Standard Pascal)

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

    Standard Pascal implements file variables as pointers to <type>; the
    procedure Get reads the next item in the file into a buffer, to which
    DFile now points. The sequence to get a given item would be:

           Get(DFile);
           Item := DFile^;

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

           DFile    A data file.

          <type>    Any type except a file type.

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