>Note: the following "obvious" syntax is invalid:
>
>INTEGER, DIMENSION(0), PARAMETER :: IPAR = (//)
A bit less than obvious - what is the type of (/ /) ?
Fortran 2003 adds a type-spec to the array declarator, so
(/ integer :: /)
is the rank-one default integer zero-sized array value, and
(/ character(37) :: /)
is the rank-one length 37 character zero-sized array value, etc.
Cheers,
--
................................Malcolm Cohen, Nihon NAG, Tokyo.
|