9.225. SAME_TYPE_AS

9.225 SAME_TYPE_AS — Query dynamic types for equality

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

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-6.3.0/gfortran/SAME_005fTYPE_005fAS.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部