Handbook
Glossary
set ( value variable -- )
Factor handbook
»
The language
»
Dynamic variables
Prev:
get ( variable -- value )
Next:
Changing variable values
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 namespace at the top of the namestack.
Side effects
Modifies
variable
Definition
USING:
assocs
;
IN:
namespaces
:
set
( value variable -- )
namespace
set-at
;