This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Carriage returns
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: Al Miesch <amiesch at ahinet dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 12 Apr 2004 12:57:09 +0200
- Subject: Re: Carriage returns
- Organization: Moene Computational Physics, Maartensdijk, NL
- References: <C14BB1AD-87EF-11D8-A05B-0003938FC1BA@ahinet.net>
Al Miesch wrote:
[ Sorry for the late reply - have been very busy of late ]
How can I prevent a carriage return at the end of a g77 fortran "WRITE"
statement? Al Miesch
From the manual
(http://gcc.gnu.org/onlinedocs/gcc-3.3.3/g77/I-O.html#I%2fO):
A dollar sign at the end of an output format specification suppresses
the newline at the end of the output.
Hope this helps,
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc.gnu.org/fortran/ (under construction)