global ( -- g )
Factor documentation > Factor handbook > The language > Global variables
Prev:namespace ( -- namespace )
Next:get-global ( variable -- value )


Vocabulary
namespaces

Inputs and outputs
gan assoc


Word description
Outputs the global namespace. The global namespace is always checked last when looking up variable values.

Definition
USING: kernel.private namespaces.private ;

IN: namespaces

: global ( -- g )
OBJ-GLOBAL special-object { global-hashtable } declare ;
foldable flushable