ExplicitDeallocate

Deallocates if allocated otherwise throws a runtime error, a stmt ASR node.

声明

语法

ExplicitDeallocate(symbol* vars)

参数

vars contains pointer target.

返回值

无。

描述

ExplicitDeallocate frees the storage allocated for allocatable variables and nonprocedure pointer targets. It also disassociates pointer. It is done by Deallocate() statement. If not allocated, it throws a runtime error.

类型

Name of variable, must be a pointer or allocatable variable.

示例


ASR:


也可以看看