Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> file of file identifier pp 93</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FILE OF                       File Identifier                         pp 93


 Define:  Reserved words that identify a file type.

 Purpose: Define a file as a particular type.

 Notes:   A file type is defined by the reserved words file of followed
          by the type of the components in the file.

          A file identifier is declared by the reserved words file of
          followed by the identifier of a previously defined file type.


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


 Usage:
       TYPE
          ProductName = String [80];        { File type        }

       VAR
          Products : File of ProductName;   { File identifiers }
          Parts    : File of Integer;
          Letters  : File of Char;

See Also: Assign Files

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson