(j3.2006) Is the SIZE intrinsic definition correct?

Bill Long longb
Mon May 19 12:29:43 EDT 2008


Good catch, Dick.

This change occurred between 07-007 and 07-007r1, and I believe it was 
not intended.  Paper 07-116r1 has hundreds of small edits, most of which 
have little context.  Two consecutive ones are

424:11+1  "of...array" => "a scalar or array of any type"
426:24+1  "of...array" => "an array of any type"

The one on page 426 is for SIZE.  I suspect that after a couple of 
hundred of these, the editor's eyes wandered a line above and got the 
wrong edit. Given the density of edits in 07-116r1, I'd be impressed if 
this were the only transcription error.

I assume Malcolm can add a fix for this to 019.

Cheers,
Bill


Dick Hendrickson wrote:
> Is the definition ARRAY argument of the SIZE intrinsic correct?
>
> 13.7.155 says
> "ARRAY shall be a scalar or array of any type"
>
> but all of the discussion and examples only refer to
> case where ARRAY is an array.
>
> The definition in the chapter 2 glossary says
>
> 2.1.101
> size
> of an array, the total number of elements in the array
>
> Which also seems to imply that only arrays have a size.
>
> Dick Hendrickson
> _______________________________________________
> J3 mailing list
> J3 at j3-fortran.org
> http://j3-fortran.org/mailman/listinfo/j3
>   

-- 
Bill Long                                   longb at cray.com
Fortran Technical Support    &              voice: 651-605-9024
Bioinformatics Software Development         fax:   651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120

            




More information about the J3 mailing list