require ( object -- )
Factor handbook > The language > Vocabulary loader

Prev:Vocabulary icons
Next:require-when ( if then -- )


Vocabulary
vocabs

Inputs and outputs
objecta vocabulary specifier


Word description
Loads a vocabulary if it has not already been loaded. Throws an error if the vocabulary does not exist on disk or in the dictionary.

Notes
To unconditionally reload a vocabulary, use reload. To reload changed source files only, use the words in Runtime code reloading.

Definition

GENERIC: require ( object -- )


Methods