Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site noao.UUCP Path: utzoo!watmath!clyde!cbosgd!cbdkc1!desoto!cord!hudson!bentley!hoxna!houxm!mhuxj!mhuxr!ulysses!allegra!princeton!astrovax!noao!jacoby From: jacoby@noao.UUCP (George Jacoby X292) Newsgroups: net.micro.pc Subject: Need Help With Turbo Pascal Message-ID: <403@carina.noao.UUCP> Date: Wed, 2-Jan-85 15:54:17 EST Article-I.D.: carina.403 Posted: Wed Jan 2 15:54:17 1985 Date-Received: Thu, 3-Jan-85 07:35:09 EST Distribution: net Organization: Natl. Optical Astronomy Observatories, Tucson, AZ USA Lines: 21 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