ADELIA |
|
|
|
|
(I/B) |
|
|
|
|
Warning: In the case of ADELIA programs, this instruction is not compatible with the Adelia iSeries Studio C generator or with Adelia/400.
Section for use
All
Syntax
DEALLOCATE PointerVarId
PointerVarId |
→ |
Pointer-type variable. This type is mainly used to create an interface with APIs not developped with Adelia. |
Description
Allows heap storage to be released.
The DEALLOCATE instruction releases the heap storage that the result-field pointer is set to.
The inverse instruction is ALLOCATE.
It is possible to REALLOCATE heap storage to a pointer.
Example
Assume WW_Point is pointer variable
DEALLOCATE WW_Point
See also the list of 4GL instructions by topic