Define a class destructor
- Last Updated: August 17, 2021
- 1 minute read
- OpenEdge
- Version 12.2
- 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.