Handbook
Glossary
get-global ( variable -- value )
Factor handbook
»
The language
»
Global variables
Prev:
global ( -- g )
Next:
set-global ( value variable -- )
Vocabulary
namespaces
Inputs
variable
a variable, by convention a symbol
Outputs
value
the value
Word description
Outputs the value of a variable in the global namespace.
Definition
USING:
accessors
namespaces.private
;
IN:
namespaces
:
get-global
( variable -- value )
global
box-at
value>>
;
inline