emit ( c -- )
published: 28 January 2023 / updated 30 January 2023
vocabulary: forth
Display character code c.
If x is a graphic character in the implementation-defined character set, display x. The effect of emit
for all other values of x is implementation-defined.
When passed a character whose character-defining bits have a value between hex 20 and 7E inclusive, the corresponding standard character is displayed. Because different output devices can respond differently to control characters, programs that use control characters to perform specific functions have an environmental dependency. Each emit
deals with only one character.
Example:
65 emit \ display A 66 emit \ display B