Re: add a0 format to language to print trimmed character variables
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx>
- Date: Sun, 29 Apr 2007 13:31:16 -0800
Gary Scott wrote:
(snip)
In order to be analogous to I0 though wouldn't it need to trim both leading and trailing spaces? I don't think that would be the usual desire though, but maybe you could specify '0a0' to trim leading and trailing spaces.
That is one that I don't think you can do. The repeat specifier
comes before the data edit descriptor. If you allowed 0 indicating
to trim leading blanks, how would you apply a repeat specifier to it?
Suffixes can be applied to descriptors, the most common being the
indication of the number of places after the decimal point in descriptors for floating point values. It would look a little
strange, but it would seem possible to use that one.
Otherwise, as a way to get around an implied DO it still
seems a little excessive.
-- glen
.
- Follow-Ups:
- Re: add a0 format to language to print trimmed character variables
- From: Gary Scott
- Re: add a0 format to language to print trimmed character variables
- From: Pierre Asselin
- Re: add a0 format to language to print trimmed character variables
- References:
- add a0 format to language to print trimmed character variables
- From: Beliavsky
- Re: add a0 format to language to print trimmed character variables
- From: michael
- Re: add a0 format to language to print trimmed character variables
- From: Richard Maine
- Re: add a0 format to language to print trimmed character variables
- From: glen herrmannsfeldt
- Re: add a0 format to language to print trimmed character variables
- From: Clive Page
- Re: add a0 format to language to print trimmed character variables
- From: Gary Scott
- add a0 format to language to print trimmed character variables
- Prev by Date: Re: Fortran: creating a table and interpolating values
- Next by Date: Re: add a0 format to language to print trimmed character variables
- Previous by thread: Re: add a0 format to language to print trimmed character variables
- Next by thread: Re: add a0 format to language to print trimmed character variables
- Index(es):
Relevant Pages
|
|