Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!wuarchive!udel!brahms.udel.edu!mchupa From: mchupa@brahms.udel.edu (Michael A Chupa) Newsgroups: comp.sys.mac.programmer Subject: Re: Readln in THINK Pascal; (really--what's the space for?) Summary: Think thinks a CR is a space Keywords: eoln, space Message-ID: <18704@brahms.udel.edu> Date: 13 Feb 91 13:48:08 GMT References: <1991Feb12.100618.4840@cc.helsinki.fi> <5710@husc6.harvard.edu> Followup-To: poster Organization: University of Delaware Lines: 9 > Rich Siegel Symantec Languages Group Internet: siegel@endor.harvard.edu gave a helpful response to a problem with an unexpected end of file error. A related topic that comes up very often in my HS programming classes is Think Pascal's handling of CR's in text files. For example, if eoln(f) is true, then the effect of doing a read(f,ch) is that ch = ' ', instead of ch = chr(13) (ascii CR). I'm curious as to why this handling of returns was done--it is the (absolutely!) only thing I prefer Turbo 1.1 over Think on! Mike