Obsolete

Библиотеки и ключевое слово USE больше не поддерживаются в Gambas, поскольку они никогда не работали достаточно хорошо. Рассмотрите возможность записи Gambas компонент в Gambas где-то после 1.0.

Следующее сохраняется временно из исторического интереса:

---+<nop>USE

*USE* _Archive_

Tells the interpreter to search for classes in the specified archive if it cannot find them in the main project.

_Archive_ must point to a *Gambas* executable, i.e. an archive generated by the IDE or the _gba_ program.
It can be an absolute or a relative path.

If _Archive_ is a relative path, then the interpreter uses the following algorithm to locate the archive :

* It searches for an archive named _Archive_ in the directory where the running project or the running executable is located.

* Next, it searches for a *Gambas* project named _Archive_ in the same place, with a compiled executable present.

* Finally, it searches in the =bin= directory of your *Gambas* installation, by default =/opt/gambas/bin=

You can call *USE* several times. Then, the first archives have the highest priority.

%INCLUDE{"ReferenceBy"}%