# 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.