[net.micro.pc] Need Help With Turbo Pascal

jacoby@noao.UUCP (09/24/84)

Does anyone know how to prevent arithmetic traps
(e.g. floating overflow) from terminating the
process in Turbo Pascal?

Any suggestions appreciated.

George
ihnp4!noao!jacoby

jacoby@noao.UUCP (George Jacoby X292) (01/02/85)

I am trying to detect EOF from the Console device in a
Turbo Pascal program. EOF is always true in the following.

	Readln (Con, foo) ;
	if EOF (Con) then ...

If I replace the input device with TRM, all works fine.
If I omit the explicit reference to CON (the default),
the system crashes.

Has anyone else encountered this?


Also, has anyone figured out how to suppress the automatic
screen clear at startup of a Turbo program??

Thanks in advance.

                                 George Jacoby
                                 ihnp4!noao!jacoby