ExplicitDeallocate

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

Declaration

Sintaxe

ExplicitDeallocate(symbol* vars)

Argumentos

vars contains pointer target.

Valores de retorno

Nenhum.

Descrição

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.

Exemplos


ASR:


Veja Também