lang • export

EXPORT

EXPORT [ OPTIONAL ]

This keyword, when placed alone at the beginning of a class file declares the class as exported.

That means that this class will be visible from the outside when making a component.

If the OPTIONAL keyword is specified, then the class will be exported only if no other previously loaded component has already exported a class with the same name.

Examples

' Gambas class file
'
' This is an implementation of a new ListBox control put in a component

Inherits ListBox
Export

...

See also