start | all-pages
(const)
*Konilo does not provide anything directly like CONSTANT in
traditional *Forth. Rather, I just write words which return
a value. This extension adds a `const` word, which can be used
like this:
#100 'NAME const
There is also an `s:const` form included for use with strings.
This does not make constants that are directly runnable. To use
them, you will need to use the & *sigil with them. E.g.,
#100 'name const
&name n:put