(j3.2006) F2008: Bogus text in UDIO; IMAGE_INDEX question

Tobias Burnus burnus
Mon Mar 28 14:25:05 EDT 2011


Hello all,

I have serious problems parsing the following sentence:

" , if contained a and the list item's corresponding edit descriptor was 
a DT edit descriptor."

Yes, the sentence starts with space-comma-space. See: F2008 (N1830), 
"9.6.4.8.3 Defined input/output procedures", paragraph 13, last sentence 
of the 3 bullet point (page 226).

  * * *

Secondly, I have a question regarding IMAGE_INDEX. One finds in the 
standard:

"Result Value. If the value of SUB is a valid sequence of cosubscripts 
for COARRAY, the result is the index of the corresponding image. 
Otherwise, the result is zero.
Examples. If A and B are declared as A [0:*] and B (10, 20) [10, 0:9, 
0:*] respectively, IMAGE_INDEX (A, [0]) has the value 1 and IMAGE_INDEX 
(B, [3, 1, 2]) has the value 213 (on any image)."

My question is: What meant by "valid sequence of cosubscripts"? Or in 
other words: Will the second IMAGE_INDEX in the example always return 
213 or only if num_images() >= 213?

Tobias



More information about the J3 mailing list