
allow size of parameter array to be inferred?
I wish fortran allowed the compiler to infer the size of a parameter
array from the right-hand-side of the assignment, so that (for example)
integer, parameter :: ivec(:) = (/1,4,9/)
would be equivalent to
integer, parameter :: ivec(3) = (/1,4,9/)
This would be similar to the currently allowed usage
character (len=*), parameter :: word = "dog"
although I understand the difference -- word is a scalar. Has the
Fortran standards committee considered this idea?