Path: utzoo!attcan!uunet!husc6!uwvax!dogie!uwmcsd1!ig!agate!ucbvax!CU20B.CC.COLUMBIA.EDU!SIT.BUSH From: SIT.BUSH@CU20B.CC.COLUMBIA.EDU (Nick Bush) Newsgroups: comp.os.vms Subject: RE: RE: Re: VMS C reading fortran files Message-ID: <12406100628.12.SIT.BUSH@CU20B.CC.COLUMBIA.EDU> Date: 13 Jun 88 12:26:08 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 21 >While I don't have a copy of the FORTRAN 77 standard at hand, I doubt that >it specifies that a program that writes output to a printer with blanks >in column 1 should skip the first line on the first page. If it does, >then CONVERT, TYPE and several other utilities on VMS interpret FORTRAN >Carriage Control incorrectly. One of the problems with FORTRAN carriage control is that most definitions of it do not talk about the two boundary conditions: the first and last records of the file. Certinaly the FORTRAN 77 standard does not require that a blank in the first column of the first record means that the output should be preceded by a blank line. However, given that the carriage control character does specify the carriage control to be used before and after the record makes it "reasonable" to interpret the standard this way. Note that as far as I know, every VAX/VMS application that has attempted to interpret FORTRAN carriage control to require the initial blank line has gotten lots of complaints and has ended up putting in the special case for the first line. So, certainly an SPR on VAX C is reasonable to get it to agree with other interpreters of FORTRAN carriage control. - Nick Bush -------