_________________________________________________________________________________________________________
File types
___________________________________________________________________
If no type identifier is given, then the file is an untyped file; it can be considered as equivalent to a file of bytes. Untyped files require special commands to act on them (see Blockread (458), Blockwrite (460)). The following declaration declares a file of records:
Type Point = Record X,Y,Z : real; end; PointFile = File of Point; |
A special file type is the Text file type, represented by the TextRec record. A file of type Text uses special input-output routines.