|
|
|
|
|
by pklausler
399 days ago
|
|
Arrays are actually not part of Fortran’s type system; neither are pointers. These are attributes of variables and components, instead. And the language has some nasty pitfalls for users (and some nonportable cases due to bugs in some compilers) with non-default lower bounds. A simple assignment statement like A=B might change the bounds of A, but A=(B) and A(:)=B cannot. It’s best to avoid non-default lower bounds in general. |
|