SAME_TYPE_AS(3f)

DESCRIPTION
Query dynamic types for equality.

STANDARD
Fortran 2003 and later

CLASS
Inquiry function

SYNTAX
RESULT = SAME_TYPE_AS(A, B)

ARGUMENTS

A Shall be an object of extensible declared type or unlimited polymorphic. B Shall be an object of extensible declared type or unlimited polymorphic.

RETURN VALUE
The return value is a scalar of type default logical. It is true if and only if the dynamic type of A is the same as the dynamic type of B.

SEE ALSO
EXTENDS_TYPE_OF

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).