Fortran write(print) problem



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

.



Relevant Pages

  • Location for Data Files
    ... While this applies to Vista, it also applies to XP (even though most ignore ... Like most, my programs use INI and input files, as well as ... customer-made and modified data files. ...
    (microsoft.public.vb.general.discussion)
  • Re: Location for Data Files
    ... Like most, my programs use INI and input files, as well as ... customer-made and modified data files. ...
    (microsoft.public.vb.general.discussion)
  • cannot start Microsoft Office outlook
    ... Already checked profiles and data files seems ok any sugjestions? ... Prev by Date: ...
    (microsoft.public.outlook.installation)
  • Changing my user name
    ... I'd like to synchronize a couple of computers so that some data files can be ... I can do this by making my home computer have the same user name as my work ... Prev by Date: ...
    (microsoft.public.windowsxp.general)
  • GURPS Character Assistant
    ... And the website has no updates or additional data files!! ... Prev by Date: ...
    (rec.games.frp.gurps)