Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!batcomputer!lijewski From: lijewski@batcomputer.tn.cornell.edu (Mike Lijewski) Newsgroups: comp.lang.fortran Subject: Bogosity in Gould FORTRAN? Keywords: FORTRAN OPEN READ REWIND GOULD Message-ID: <7863@batcomputer.tn.cornell.edu> Date: 1 May 89 20:48:21 GMT Distribution: comp Organization: Cornell National Supercomputer Facility Lines: 17 I have just had a run-in with Gould FORTRAN. Apparently, Gould decided to OPEN files with the pointer at end of file as the default. So if you want to READ some data, you need to do a REWIND immediately after the OPEN. On the two dozen or so types of computers I have run on, never have I run into this. Have I just been lucky? I would appreciate hearing from others who have been bitten by this? Gould says that since ANSI didn't explicitely say that the pointer to an OPEN'd file must be at the beginning of the file, that they can do this and still be ANSI. Any comments? -- Mike Lijewski (H)607/277-7623 (W)607/255-0539 Cornell National Supercomputer Facility ARPA: mjlx@cornellf.tn.cornell.edu BITNET: mjlx@cornellf.bitnet SMAIL: 102 E. Court St. Ithaca, NY 14850