Directives

LOAD CLASS

Pre-Load Class Definition

Format

LOAD CLASS class$
 
Where:

class$

Name of the class to be pre-loaded. String expression.

Description

The LOAD CLASS directive is used in Object Oriented Programming (OOP) to pre-load a class definition into memory from a .pvc file. Normally, an OOP class definition is loaded into memory the first time an object of that class is instantiated, and that class definition remains in memory and is used for all subsequent instances of the same class.

Note:
PxPlus accepts certain typographical errors. For example, it accepts LAOD as a substitute for LOAD.

See Also

DEF CLASS Define Object Class
DROP CLASS Delete Class Definition
DROP OBJECT Delete Object
FUNCTION Declare Object Method
LIKE Inherit Properties
LOCAL Designation of Local Data
PROGRAM Create/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