Path: utzoo!attcan!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!uflorida!travis!bill From: bill@ssd.csd.harris.com (Bill Leonard) Newsgroups: comp.lang.fortran Subject: Re: record length for direct access files (corrected) Message-ID: Date: 3 Oct 90 17:41:12 GMT References: <2146@key.COM> <2151@key.COM> <2152@key.COM> Sender: news@travis.csd.harris.com Organization: Harris Computer Systems Division Lines: 18 In-reply-to: maine@elxsi.dfrf.nasa.gov's message of 2 Oct 90 16:55:38 GMT In article maine@elxsi.dfrf.nasa.gov (Richard Maine) writes: Basically, the above example "has to" be illegal because it otherwise would imply that you could read 2 different records with 2 different lengths from the same direct access file in the same open; just add a second read, which specifies rec=2. That is pretty explicitly illegal. I'm sorry, Richard, but this isn't illegal at all. The standard does not guarantee you _can_ do it, but it doesn't forbid an implementation from allowing it. (See previous posting in answer to Steve Correll for more detail.) -- Bill Leonard Harris Computer Systems Division 2101 W. Cypress Creek Road Fort Lauderdale, FL 33309 bill@ssd.csd.harris.com