Re: add a0 format to language to print trimmed character variables



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.
.