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