Contents | Prev | Next

17.10 Effect of reading a text file to which "page" has been applied

6.9.5 The effect of inspecting a text file to which the page procedure was applied during generation is implementation-dependent.

Applying page to a text file during generation causes a form feed character (i.e. chr(12)) to be written to the file. During inspection (i.e. when the text file is read) the handling of the form feed character depends on the type of data the program is trying to read. If the program is trying to read in integer or real data then the form feed character is treated like a space character and is therefore skipped. If the program is trying to read in character or string data then the form feed character is read in like any other character.

Contents | Prev | Next