Re: Assumed-shape array of variable-length strings

Jovan Cormac wrote:
fj wrote:

This instruction is not legal : all the strings must have the same
length ! Your compiler has accepted it (extension) in padding the
shortest strings with spaces.

Correction : not legal in FORTRAN-95

Ok, thank you. Any possiblilty of a workaround then?

If the question is how to write legal (consistent w/ F95 Standard) array constructor for CHARACTER data, sure...pad all strings in the constructor to the same length.

Otherwise, do you mean to ask something different?