[g77] Read statement and formatting
From: Iain Day (iain_at_day-online.org.uk.invalid)
Date: 12/24/04
- Previous message: Steve Lionel: "Re: Linking .lib library to fortran"
- Next in thread: Ken Fairfield: "Re: [g77] Read statement and formatting"
- Reply: Ken Fairfield: "Re: [g77] Read statement and formatting"
- Reply: Ken Fairfield: "Re: [g77] Read statement and formatting"
- Reply: Iain Day: "Re: [g77] Read statement and formatting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 24 Dec 2004 16:47:44 +0000
Dear All,
I have a Fortran 77 program which isn't behaving correctly when compiled
with g77 (version: 3.4.2). I've tracked the problem down to the
following read statement:
read(file,'(q,a)',err=100,end=100)
The problem appears to be with the format part of this statement. The
question is, what does the '(q,a)' part mean and how do I correct the
program? If I remove it, I get the following error message:
sue: unformatted io not allowed
apparent state: unit 5 (unnamed)
lately reading sequential unformatted external IO
Abort
Many thanks,
Iain
- Previous message: Steve Lionel: "Re: Linking .lib library to fortran"
- Next in thread: Ken Fairfield: "Re: [g77] Read statement and formatting"
- Reply: Ken Fairfield: "Re: [g77] Read statement and formatting"
- Reply: Ken Fairfield: "Re: [g77] Read statement and formatting"
- Reply: Iain Day: "Re: [g77] Read statement and formatting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|