DESTROY Example


Example:

 

BUTTON2

BUTTON

 

  

...

 

  

CREATE

BUTTON2=4:4:1:10,"Help"

  

...

 

  

DESTROY

BUTTON2

 

This DESTROY instruction deallocates any memory that was allocated by the CREATE instruction. Before BUTTON2 may be used again in the program, a CREATE instruction must be performed.

 



PL/B Language Reference DELETEITEM Example DFREE Examples