value ( comp: n -- | exec: -- n )
published: 28 January 2023 / updated 28 January 2023
vocabulary: forth
Define value.
name leave value on stack.
A Value behaves like a Constant, but it can be changed.
Example:
12 value APPLES \ Define APPLES with an initial value of 12 34 to APPLES \ Change the value of APPLES. to is a parsing word APPLES \ puts 34 on the top of the stack