Re: Write A, left justified, howto?
- From: "*** Russell" <richard.russell@xxxxxxxxxxx>
- Date: 28 Dec 2006 04:41:12 -0800
*** Russell wrote:
Jeremy schreef:
write(*, '(A4,1X,A10,1X,A10)') 'ID', 'Code', 'Name'
prints:
ID Code Name
I replied too quickly. I notice that you are printing literals, which
you want padded. One other solution would be to leave the literals,
unpadded, as is in the WRITE statement and change the FORMAT string to
use just A for the literal followed by a Tn to tab to the column for
the next literal.
.
- References:
- Write A, left justified, howto?
- From: Jeremy
- Re: Write A, left justified, howto?
- From: Arjen Markus
- Re: Write A, left justified, howto?
- From: *** Russell
- Write A, left justified, howto?
- Prev by Date: Re: Write A, left justified, howto?
- Next by Date: Re: Dimension attribute based on host-associated variable - bug in Intel Fortran
- Previous by thread: Re: Write A, left justified, howto?
- Next by thread: F2003: pass disallowed for procedure pointer components?
- Index(es):