DFREE


NCHAR

 

The DFREE instruction releases the memory of a DIM or NCHAR variable created using the DMAKE instruction. The instruction uses the following format:

 

 

[label]

DFREE

{dest}

 

Where:

label

Optional. A Program Execution Label.

dest

Required. A previously defined DIM or NCHAR POINTER variable.

Flags Affected: ZERO

Note the following:

  1. If the {dest} pointer does not refer to a DIM or NCHAR variable created by a DMAKE instruction, the pointer is simply cleared.

  2. Any DIM or NCHAR pointer that is referencing this same buffer allocation is also cleared.

 

 

See Also: Example Code, Character String Instructions

 



PL/B Language Reference DECRYPT DMAKE