PR fortran/19269 (partial fix): Lengths of reshaped arrays

Paul Brook paul@codesourcery.com
Tue Sep 6 17:38:00 GMT 2005


> (b) the character length of the array is the maximum of every individual
> element. 

I'm not sure about this because...

> +   (/ 'a', 'bee', 'cedar', 'dog' /)

This is illegal.
From Section 4.5 (Construction of array values):
"If the ac-value expressions are of type character, each ac-value expression 
in the array constructor shall have the same character length parameter.

Is this an extension we provide that I've forgotten about?

Paul



More information about the Fortran mailing list