Image Selectors

An image selector determines the image index for a coindexed object. It takes the following form:

[cosubscript-list ]

cosubscript-list

Is a scalar integer expression; its value must be within the cobounds for its codimension. The number of cosubscripts must be equal to the corank of the object. If the lower bound is not specified, it is assumed to be 1.

Considering the cobounds and bounds, respectively, the cosubscript list in an image selector determines the image index in the same way that a subscript list in an array element determines the subscript order value.

An image selector must specify an image index value that is not greater than the number of images.

Examples

Assume that there are 16 images and the coarray C is declared as follows:

REAL :: C(15)[5,*]

C(:)[1,4] is valid because it selects image 16, but C(:)[2,4] is invalid because it selects image 17.

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.