ExplicitDeallocate

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

Declaración

Sintaxis

ExplicitDeallocate(symbol* vars)

Argumentos

vars contains pointer target.

Valores devueltos

None.

Descripción

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.

Tipos

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

Ejemplos


ASR:


Ver también