Re: Read DOS or Unix files with the same fortran code
- From: Charles Russell <NOSPAM@xxxxxxxxxxxxx>
- Date: Wed, 28 Nov 2007 12:09:26 -0600
tianyf@xxxxxxxxx wrote:
I would like my fortran program to be able to read text files with
either Unix or DOS line endings..
The compilers that I hare used recently (mainly g77) have this capability for the compiler itself, but not in their
run-time libraries. Thus I don't have to pay attention DOS newlines in my code, but I do in the data files. Seems to me it should not be too hard to add this feature to the runtime I/O libraries as well (wish list).
.
- References:
- Read DOS or Unix files with the same fortran code
- From: feenberg
- Re: Read DOS or Unix files with the same fortran code
- From: tianyf@xxxxxxxxx
- Read DOS or Unix files with the same fortran code
- Prev by Date: Re: Fortran Error Reporting Requirements (Was: GFORTRAN PROBLEM WITH SAVE STATEMENT)
- Next by Date: initializing an array of user-defined data types
- Previous by thread: Re: Read DOS or Unix files with the same fortran code
- Next by thread: Parallelization on Dell Workstations
- Index(es):
Relevant Pages
|