<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>
In Compilation Words in TurboForth Kernal
Creates a CONSTANT with the value n.
CONSTANT
10 CONSTANT TEN TEN .
(displays 10)
The name is taken from the terminal input buffer.
CONSTANTs should not be defined within a colon definition.