I need to make a word that can define another word. What I have tried is take the definition of the ':' and ';' words and do something like this:
: createWord
" MyWord" header 1 , ] ." hello from MyWord!" ( lit ) h# b7db9018 , reveal ( lit ) h# b7db9950 execute
;
This doesn't work either:
: createWord
: MyWord ." hello from MyWord!" ;
;
Anyone know how to define a word from within another word?