ProvideX V8.20 > Language Reference > 2. Directives
194
LOAD CLASS Directive
             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 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.
See Also
Object Oriented Programming, p.21
DEF CLASS Define Object Class, p.64
DROP CLASS Delete Class Definition, p.101
DROP OBJECT Delete Object, p.103
FUNCTION Declare Object Method, p.136
LIKE Inherit Properties, p.173
LOCAL Designation of Local Data, p.196
PROGRAM Create/Assign Program File, p.257
PROPERTY Declare Object Properties, p.259
RENAME CLASS Change Name of Class, p.281
STATIC Add Local Properties at Runtime, p.327
NEW( ) Function, p.487
REF( ) Function, p.510
Note: ProvideX accepts certain typographical errors. For instance, it accepts LAOD as
a substitute for LOAD.