Fortran write(print) problem
- From: "Wang Jun" <daxiawj@xxxxxxxxx>
- Date: 27 Aug 2005 00:20:09 -0700
When I was processing some data files, there needed many ctl
file(something like .ini),
and they should start every line without any "space".
But when I write some code like:
write(5,*)'DSET ^', filenamep
write(5,*)"OPTIONS little_endian"
write(5,*)"UNDEF -999.0"
write(5,*)"TITLE Rainfall of Tibetean"
in the written file, every line start with a "space":
"
DSET ^ gra3.dat
OPTIONS little_endian
UNDEF -999.0
"
not:
"
DSET ^ gra3.dat
OPTIONS little_endian
UNDEF -999.0
"
that coursed many problems, so how can I get the output lines
start with none "space"??
Thank you very much
.
- Follow-Ups:
- Re: Fortran write(print) problem
- From: Gib Bogle
- Re: Fortran write(print) problem
- From: Brooks Moses
- Re: Fortran write(print) problem
- Prev by Date: Re: indexing tags like cscope in fortran?
- Next by Date: Re: Fortran write(print) problem
- Previous by thread: indexing tags like cscope in fortran?
- Next by thread: Re: Fortran write(print) problem
- Index(es):
Relevant Pages
|