<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>
In String Words in TurboForth Kernal
Obtains the ASCII code of the first character of the word that follows itself in the input stream.
: STAR ( -- 42 ) ASCII * ;
If used on the command line, behaves as per CHAR. If used within a colon definition, compiles the first character of the string immediately following into the colon definition as a literal. The rest of the string is skipped.
CHAR