Hello,
The discussion of 'clrscr' caused me to look into GPC's support of the page procedure. [On all of the Pascal variants I've used in the past -- I've never used any Borland variant -- 'page' would effectively clear the screen.] While GPC on the other hand seems to follow the standard literally and output just a FF (ASCII 12). No problem there, but the problem is that GPC gives a parse error if use just 'page' but accepts 'page(output)'. My reading of the standard is that page with no parameters should assume standard output, at least if output is explicitly declared in the program heading. (ISO 7185 6.9.5)
E.g. this program should compile:
program pagetest(output);
begin page; end.
-Kevin
-- Kevin A. Foss --- kfoss@mint.net --