8.4.2 Finalize_Logical Procedure

The Finalize_Logical procedure deallocates and finalizes a logical scalar or array variable.

Calling syntax:

call Finalize (L, status)

Input variable:

 L  A logical scalar variable or a pointer to an allocated logical array variable.

Output variable:

 L  The L variable has been deallocated and nullified, if it is an array, or set to a flag value (finalize_logical_flag), if it is a scalar.
 status  If present, the status variable is set to either 'Memory Error' or 'Success' depending on program execution. If not present, the procedure aborts if unsuccessful when the DEBUG_LEVEL is set high enough.

Internal variable:

 deallocate_status  Deallocation Status.

The Finalize_Logical code listing contains additional documentation.

Michael L. Hall