text file reading, FORTRAN

Youhua Tang ytang at CGRER.UIOWA.EDU
Tue Jan 3 14:05:21 EST 2006


A simple solution is replacing all space with _

Youhua

On Tue, 3 Jan 2006, Huamei Yin wrote:

> Hi,
>
> I am reading a comma delimited text file. I used FORTRAN free format to read
> since the fields lengths change. It works well for most cases. But in some
> cases the station names have space in it and FORTRAN think space means the end
> of a field too, so it truncates the station name and the fields after that will
> be messed up. Dose anyone know how to solve this problem? Thank you very much.
>
> Happy New Year!
> Huamei
>



More information about the gradsusr mailing list