-
Notifications
You must be signed in to change notification settings - Fork 9
Forth Console
Wolf Wejgaard edited this page Apr 1, 2020
·
6 revisions
The command line is evaluated when you press <Enter>.
Use <Shift+Enter> to continue the command on the next line.
If you copy source text into the console, end definitions by empty lines.
The command line displays the stack content in parentheses before the prompt "ok".
Lists and strings containing spaces are enclosed in braces.
Recall command lines with the up and down arrows.
- Ctrl-W = Shows the loaded Words (dictionary)
- Ctrl-S = Clears the Stack
- Ctrl-C = Clears the Console
The command line is compiled to Tcl code and executed in the Tcl runtime engine.
You can inspect the Tcl code in a Code Window (open it in the Setup menu).
- Load .tcl - loads a Tcl source file
- Load .fth - loads a Forth source file
- Clear Console - Resets the Forth console - Shortcut Ctrl+C
- Show/Hide Stack - Shows the stack contents on the command line
- Show/Hide Code Window - Shows the compiled Tcl code
- Open Tcl Console - Access to the Tcl interpreter
- TclForth Words - Displays the Forth words (dictionary) - Shortcut Ctrl+W
- TclForth Guide - Opens the TclForth Wiki
- Tcl Commands - Presents the Tcl commands (official manual)