Carriage returns

Toon Moene toon@moene.indiv.nluug.nl
Mon Apr 12 10:52:00 GMT 2004


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)



More information about the Gcc-help mailing list