# LOAD CLASS Directive

> Source: https://manual.pvxplus.com/pxplus-user-guide/object-oriented-pxplus/pxplus-oop-interface/load-class-directive

**LOAD CLASS** *class$*

The **LOAD CLASS** directive may be used to preload a class definition into memory from a *.pvc* file.

***Example:***

```
LOAD CLASS "aaa" loads from aaa.pvc
```

The first code in the *.pvc* file must be a **DEF CLASS .. END DEF** block assigned the same name (*class$*) as specified in the **LOAD CLASS** directive.

## See Also

**[LOAD CLASS Directive](https://manual.pvxplus.com/directives/load-class)**
