Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
global ( -- g )
Factor documentation
>
Factor handbook
>
The language
>
Global variables
Prev:
namespace ( -- namespace )
Next:
get-global ( variable -- value )
Vocabulary
namespaces
Inputs and 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