Re: add a0 format to language to print trimmed character variables
- From: Walter Spector <w6ws_xthisoutx@xxxxxxxxxxxxx>
- Date: Sat, 28 Apr 2007 22:04:51 GMT
Beliavsky wrote:
...
Usually when I have a string with trailing blanks it is because
Fortran character variables have a fixed length, IMO an awkward
feature of the language. I think my proposal removes some of the
awkwardness...
Your idea, IMO, is a fine one. But it is worth noting is that in
F2003, Fortran character variables can have an 'allocatable' length.
Thus, the F2003 feature largely solves the Big Problem.
So I would rather advocate to my Fortran compiler vendors to get
moving on F2003 allocatable character string lengths, than introduce
yet another non-Standard edit descriptor that they then have to
support 'forever'.
Don't let me prevent you from suggesting it in the F2008 public
review though. I think it has some merit.
W.
.
- Follow-Ups:
- Re: add a0 format to language to print trimmed character variables
- From: *** Hendrickson
- 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: Beliavsky
- add a0 format to language to print trimmed character variables
- Prev by Date: Re: error with "if" !!!
- Next by Date: Re: error with "if" !!!
- 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):