Contents | Prev | Next | Index


File Types

A file type consists of a linear sequence of components of the component type, which can be of any type except a file type, any structured type with a file type component, or an object type. The number of components is not set by the file type declaration.

file_type ::= FILE OF type
::= FILE

It is possible not to specify the file component type by omitting the word OF and the component type name. In that case it is an untyped file. Untyped files are low-level input or output channels primarily used for direct access to any disk file regardless of its internal format.

The standard file type TEXT signifies a file containing characters organized into lines. Text files use special I/O procedures, as described in the sections about standard procedures and standard functions.


Contents | Prev | Next | Index

Canterbury Pascal for JVM  (Last documentation update Sep 02, 2004)
Copyright © 1999-2004 J.Neuhoff - mhccorp.com  . All rights reserved.
Please send any comments or corrections to neuhoff@mhccorp.com