Here is the simplified syntax for defining a destructor for a class:

destructor public <class-name> (): 
  <body of destructor>
end destructor.

Syntax Element

Description

class-name

Must match the name of the class in the class definition

body of destructor

The ABL code necessary to implement the functionality of the destructor

For more information, see DESTRUCTOR statement.