9.14. ALLOCATED
9.14 ALLOCATED — Status of an allocatable entity
- Description:
-
ALLOCATED(ARRAY)
andALLOCATED(SCALAR)
check the allocation status of ARRAY and SCALAR, respectively. - Standard:
- Fortran 95 and later. Note, the
SCALAR=
keyword and allocatable scalar entities are available in Fortran 2003 and later. - Class:
- Inquiry function
- Syntax:
-
RESULT = ALLOCATED(ARRAY)
RESULT = ALLOCATED(SCALAR)
- Arguments:
-
ARRAY The argument shall be an ALLOCATABLE
array.SCALAR The argument shall be an 登录查看完整内容