Contents | Prev | Next | Index
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 |
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
Jun 9, 2000)
Copyright © 1998 Mill Hill & Canterbury
Corporation, Ltd. All rights reserved
Please send any comments or corrections to
mhc@webcom.com