Examples of DEALLOCATE Statements

The following example discards the contents of ARAY and returns the memory area to the system. Note that ARAY must be a one-dimensional array or a syntax error results.

DEALLOCATE(ARAY)

The following example discards the contents of the row MATRIXARY[INDX,*] and returns the memory area to the system.

DEALLOCATE(MATRIXARY[INDX,*])

The following example discards the contents of the procedure reference array row PROCARRAY[1,*] and returns the memory area to the system.

DEALLOCATE(PROCARRAY[1,*])