Handbook
Glossary
set-global ( value variable -- )
Factor handbook
»
The language
»
Global variables
Prev:
get-global ( variable -- value )
Next:
initialize ( variable quot -- )
Vocabulary
namespaces
Inputs
value
the new value
variable
a variable, by convention a symbol
Outputs
None
Word description
Assigns a value to the variable in the global namespace.
Side effects
Modifies
variable
Definition
USING:
assocs
;
IN:
namespaces
:
set-global
( value variable -- )
global
set-at
;
inline