CONSTANT:
Factor handbook » The language » Words » Constants

Next:define-constant ( word value -- )


Vocabulary
syntax

Syntax
CONSTANT: word value


Inputs
None

Outputs
None

Word description
Creates a word which pushes a value on the stack.

Examples
CONSTANT: magic 1 CONSTANT: science 0xff0f


See also
define-constant

Definition