Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!texbell!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.misc Subject: Re: Lessons from Algol (Was: JLG's flogging of horses) Message-ID: Date: 4 May 90 12:36:02 GMT References: <1990Apr19.180903.27750@maths.nott.ac.uk> <4277@tukki.jyu.fi> <14357@lambda.UUCP> Reply-To: peter@ficc.uu.net (Peter da Silva) Organization: Xenix Support, FICC Lines: 11 > With respect to the C statement: > printf("The answer is %d, not %d\n", ans, resp) > one can use the following Fortran statement > write(*,*)' The answer is',ans,' not',resp Will this not pad the numbers "ans" and "resp" with spaces? Fortran I/O is heavily oriented towards columnar output, to the extent that it's all but impossible to avoid this. -- `-_-' Peter da Silva. +1 713 274 5180. 'U` Have you hugged your wolf today? @FIN Commercial solicitation *is* accepted by email to this address.