Define a class destructor
- Last Updated: July 12, 2021
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
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 in ABL Syntax Reference.