[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

25.1.3 Destructors

A destructor is called when you KILL an instance variable. Its tag must be DESTROY, and it must take one argument (THIS).

The destructor should be used to clean up any resources used by class methods.

A destructor looks like this:

DESTROY(THIS) ;
  ; free any resources that should be freed at the end of the object's lifetime
  Q

This document was generated on May 5, 2025 using texi2html 5.0.