SYMBOL:
Factor handbook » The language » Words » Symbols

Prev:symbol? ( object -- ? )
Next:SYMBOLS:


Vocabulary
syntax

Syntax
SYMBOL: word


Inputs
None

Outputs
None

Word description
Defines a new symbol word in the current vocabulary. Symbols push themselves on the stack when executed, and are used to identify variables (see Dynamic variables) as well as for storing crufties in word properties (see Word properties).

Examples
USE: prettyprint IN: scratchpad SYMBOL: foo foo .
foo


See also
define-symbol, SYMBOLS:

Definition