<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>


Words in category Console I/O Words in glossary TurboForth Kernal

Search:
The following words are listed in this category (14 words found): Word Types: S = Standard, I = Immediate , IC = Immediate-compiling.
Word Name Word Type Data Stack Signature Return Stack Signature Description Availability
V1.0 V1.1 V1.2
BREAK? S -- -- Scans keyboard for break (FCTN & 4).
CR S -- -- Issues a carriage return to the screen cursor (begins a new line).
EMIT S n -- -- Emits ASCII character n to the screen to the current cursor position.
GOTOXY S x y -- -- Sets screen cursor location to column x and row y.
JOYST S unit# -- value -- Scans the selected joystick.
KEY S -- ascii -- Suspends execution and waits for a key press. Returns ascii code of the key pressed.
KEY? S -- ascii|-1 -- Scans keyboard and returns ascii code if a key is detected, else returns -1.
PAGE S -- -- Clears the screen.
SPACE S -- -- EMITs a single space character (ascii 32) to the screen.
SPACES S n -- -- EMITs count spaces to the screen.
TERMINAL? S -- flag -- Scans keyboard and tests for break (FCTN & 4). Returns TRUE if detected, else returns FALSE.
TYPE S address length -- -- Types the string of length length beginning at address address to the screen.
WORDS S -- -- Displays all words currently defined in the dictionary to the screen.
XY? S -- x y -- Returns the current x (column) and y (row) position of the screen cursor.

<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>