Path: utzoo!attcan!utgpu!watmath!iuvax!rutgers!orstcs!jacobs.cs.orst.edu!borcelf From: borcelf@jacobs.cs.orst.edu (Fernando Borcel) Newsgroups: comp.sys.mac.programmer Subject: LSP 2.0 end of file problem Message-ID: <12576@orstcs.CS.ORST.EDU> Date: 21 Sep 89 23:34:01 GMT Reply-To: borcelf@jacobs.cs.orst.edu (Fernando Borcel) Organization: Oregon State University - CS - Corvallis Oregon Lines: 13 I've been having a little bit of trouble trying to port my LSP 1.1 programs to LSP 2.0. The main one is this: When I open a file with Open(f, filename), and I say seek(f, MAXLONGINT); EOF(f) will be true after every successful seek attempt. E.g, seek(f, 0); read(f, something); will give me an End Of File error, even though there's a record at position 0. Would anybody care to explain/solve that strange phenomenon? (maybe other than closing and reopening said file?) Thanks a lot! Fernando Borcel Borcelf@jacobs.cs.orst.edu