This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Carriage returns


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]