<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>
In Compilation Words in TurboForth Kernal
Compiles the word following ['] as a literal.
: TEST ['] DUP ;
The above example will leave the execution token of DUP on the stack when TEST is executed.
During compilation of a colon definition, compiles the word following ['] as a literal. When the colon definition is executed, the word's execution token (XT/CFA) shall be pushed to the stack, and not executed.