9.209. NUM_IMAGES

9.209 NUM_IMAGES — Function that returns the number of images

Description:

Returns the number of images.

Standard:

Fortran 2008 and later. With DISTANCE or FAILED argument, Technical Specification (TS) 18508 or later

Class:

Transformational function

Syntax:

RESULT = NUM_IMAGES(DISTANCE, FAILED)

Arguments:
DISTANCE (optional, intent(in)) Nonnegative scalar integer
FAILED (optional, intent(in)) Scalar logical expression
Return value:

Scalar default-kind integer. If DISTANCE is not present or has value 0,