Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
on ( variable -- )
Factor documentation
>
Factor handbook
>
The language
>
Dynamic variables
>
Changing variable values
Next:
off ( variable -- )
Vocabulary
namespaces
Inputs and outputs
variable
a variable, by convention a symbol
Word description
Assigns a value of
t
to the variable.
Side effects
Modifies
variable
See also
ref-on
Definition
USING:
kernel
;
IN:
namespaces
:
on
( variable -- )
t
swap
set
;
inline