Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!spool2.mu.edu!sdd.hp.com!ucsd!ucbvax!hplabs!otter.hpl.hp.com!otter!adw From: adw@otter.hpl.hp.com (Dave Wells) Newsgroups: comp.windows.ms.programmer Subject: Re: Actor File Class Buglet? Message-ID: <55040006@otter.hpl.hp.com> Date: 21 Jan 91 15:30:56 GMT References: <1991Jan21.043531.13108@news.iastate.edu> Organization: Hewlett-Packard Laboratories, Bristol, UK. Lines: 14 >From: i1neal@exnet.iastate.edu (Neal Rauhauser -- ELT Computer Applications Group) > I've had some awful funny problems with Class:TextFile, method:readLine() >in Actor3.0. Apparently when there is a on byte N * 256 of a file >readLine() ignores it and goes to the next . The code for this >(buffered) method is included with the class and is not a primitive. Indeed - the readline() implementation assumes for some reason that the instance variable is a single character. There's no reason that it should be - indeed the *default* value is CR_LF (2 chars), which gives the problem that you describe. It is possible (but fiddly) to recode the method so that it works correctly. Dave Wells