Handbook
Glossary
global ( -- g )
Factor handbook
»
The language
»
Global variables
Prev:
namespace ( -- namespace )
Next:
get-global ( variable -- value )
Vocabulary
namespaces
Inputs
None
Outputs
g
an
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