Next: SCALE, Previous: RSHIFT, Up: Intrinsic Procedures [Contents][Index]
SAME_TYPE_AS
— Query dynamic types for equalityQuery dynamic types for equality.
Fortran 2003 and later
Inquiry function
RESULT = SAME_TYPE_AS(A, B)
A | Shall be an object of extensible declared type or unlimited polymorphic. |
B | Shall be an object of extensible declared type or unlimited polymorphic. |
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.