O'Brien Paddy wrote:
>Dear All,
>
>The repeat factor which is available in DATA statements is not available in array constructors. Compiler error and looking at the F95 standard.
>
>I have been changing some DATA statements of arrays to PARAMETER arrays, using array constructors.
>
>Is there a particular reason that the repeat factor has been excluded? This has been very useful in DATA statements, and a PITA changing these to parameters.
>
>
One reason, of course, is that the repeat factor symbol "*"
would become a multiplication in an array constructor.
--
Walt Brainerd +1-877-355-6640 (voice & fax)
The Fortran Company +1-520-760-1397 (outside USA)
6025 N. Wilmot Road [log in to unmask]
Tucson, AZ 85750 USA http://www.fortran.com
|