Path: utzoo!attcan!uunet!know!samsung!usc!ucsd!ames!skipper!elxsi!maine From: maine@elxsi.dfrf.nasa.gov (Richard Maine) Newsgroups: comp.lang.fortran Subject: Re: WRITE don't do that too me! Message-ID: Date: 12 Sep 90 14:54:20 GMT References: <7396@milton.u.washington.edu> Sender: news@skipper.dfrf.nasa.gov Distribution: comp Organization: NASA Dryden, Edwards, Cal. Lines: 28 In-reply-to: whit@milton.u.washington.edu's message of 12 Sep 90 01:08:38 GMT On 12 Sep 90 01:08:38 GMT, whit@milton.u.washington.edu (John Whitmore) said: John> As nearly as I can determine, unformatted output does NOT John> add any or ; you might run into some other record terminations, ^^^^^ John> though, and the OPEN might have to be given some machine-dependent John> guidance in order to route the output to 'standard output'. You are *guaranteed* to run into some form of record termination or record header or some other machine-dependent record structure in most cases. This is essentially required by the standard for sequential i/o, regardless of whether it is formatted or unformatted, because the standard allows a program to write variable length records and then to later skip over them by reading only part of each record. The only cases where the standard allows any hope of avoiding record terminators is with access='direct', in which case the records are fixed length. Even here, the standard does not forbid machine-dependent record structure, and some machines do have such. This has been discussed here before, so I'll avoid further elaboration. Vendor-dependent extensions are another question entirely. Yes, they exist. No, they are not completely portable. -- Richard Maine maine@elxsi.dfrf.nasa.gov [130.134.64.6]