Gambas Documentation - /lang/class

/lang/class

# CLASS

CLASS Identifier

Declares to the compiler that Identifier can be used as a class name.

By default, all classes of the current project and all classes exported by the used components are automatically declared.

This keyword can be useful if you want to write some optional code in a component that needs a class from a component that is not necessarily loaded by the main project using this component.

### See also

- Object & Class Management