(j3.2006) How to spread a scalar?

malcolm at nag-j.co.jp malcolm
Sat Dec 3 17:04:07 EST 2011


> The description of SPREAD says SOURCE can be a scalar or an array of any 
> shape.
> 
> The description of DIM says it has to be in the range 1..rank(SOURCE).
>

No, the standard does not say that.
Perhaps a misreading or a misprint?
Or perhaps you are looking at a different document?
If on re-examination you still think the standard is faulty,
reference please.

> How can SPREAD be invoked with SOURCE a scalar?

As described in the standard.

Cheers,
-- 
......................Malcolm.




More information about the J3 mailing list