# LOAD CLASS Pre-Load Class Definition

> Source: https://manual.pvxplus.com/directives/load-class

## 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](https://manual.pvxplus.com/pxplus-user-guide/object-oriented-pxplus/introduction)** (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](https://manual.pvxplus.com/directives/def-class)**  
**[DROP CLASS Delete Class Definition](https://manual.pvxplus.com/directives/drop-class)**  
**[DROP OBJECT Delete Object](https://manual.pvxplus.com/directives/drop-object)**  
**[FUNCTION Declare Object Method](https://manual.pvxplus.com/directives/function)**  
**[LIKE Inherit Properties](https://manual.pvxplus.com/directives/like)**  
**[LOCAL Designation of Local Data](https://manual.pvxplus.com/directives/local)**  
**[PROGRAM Create/Assign Program File](https://manual.pvxplus.com/directives/program)**  
**[PROPERTY Declare Object Properties](https://manual.pvxplus.com/directives/property)**  
**[RENAME CLASS Change Name of Class](https://manual.pvxplus.com/directives/rename-class)**  
**[STATIC Add Local Properties at Runtime](https://manual.pvxplus.com/directives/static)**  
**[NEW( ) Create New Object](https://manual.pvxplus.com/functions/new)**  
**[REF( ) Control Reference Count](https://manual.pvxplus.com/functions/ref)**
