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

Dick Hendrickson dick.hendrickson
Sat May 17 16:29:31 EDT 2008


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



More information about the J3 mailing list