[UP]


Manual Reference Pages  - extends_type_of (3)

NAME

extends_type_of(3f) - [FORTRAN:INTRINSIC] determine if the dynamic type of A is an extension of the dynamic type of MOLD.

SYNOPSIS

RESULT=EXTENDS_TYPE_OF (A, MOLD)

DESCRIPTION

extends_type_of(3f) is TRUE if and only if the dynamic type of A is an extension of the dynamic type of MOLD.

OPTIONS

A shall be an object of extensible type. If it is a pointer, it shall not have an undefined association status.
MOLD shall be an object of extensible type. If it is a pointer, it shall not have an undefined association status.

RESULTS

RESULT Default logical scalar.
VALUE If MOLD is unlimited polymorphic and is either a disassociated pointer or unallocated allocatable variable, the result is true; otherwise if A is unlimited polymorphic and is either a disassociated pointer or unallocated allocatable variable, the result is false; otherwise the result is true if and only if the dynamic type of A is an extension type of the dynamic type of MOLD.

The dynamic type of a disassociated pointer or unallocated allocatable variable is its declared type.

EXAMPLE

CLASS

Inquiry function.


extends_type_of (3) March 11, 2021
Generated by manServer 1.08 from c10d0822-189d-4fc2-ab74-968af0871fab using man macros.