8.5.2 Finalize_Character Procedure

The Finalize_Character procedure deallocates and finalizes a character scalar or array variable.

Calling syntax:

call Finalize (C, status)

Input variable:

 C  A character scalar variable or a pointer to an allocated character array variable.

Output variable:

 C  The C variable has been deallocated and nullified, if it is an array, or set to a flag value (finalize_character_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 variables:

 deallocate_status  Deallocation Status.

The Finalize_Character code listing contains additional documentation.

Michael L. Hall