LIKE "otherclass", "otherclass", ...
Name of a class to inherit properties from.
The LIKE directive is used in Object Oriented Programming (OOP) to inherit the properties from one or more other classes.
All properties and methods are inherited from the specified classes. When multiple occurrences of the same property/function are found within the inheritance, the first class declared in the LIKE directive takes precedence.
DEF CLASS Define Object Class
DROP CLASS Delete Class Definition
DROP OBJECT Delete Object
FUNCTION Declare Object Method
LOAD CLASS Pre-Load Class Definition
LOCAL Designation of Local Data
PROGRAM Create or Assign Program File
PROPERTY Declare Object Properties
RENAME CLASS Change Name of Class
STATIC Add Local Properties at Runtime
NEW( ) Create New Object
REF( ) Control Reference Count
def class "Company"
def class "Client"
if AMT_OWING<>0 \
then return 0
def class "Dealer"
The Dealer class of objects would use the "Client" 'Delete() method since it was declared first.