Guide
Console
Tour
Words
Stack
Word-types
Data-types
Structures
Scopes
GUI-Toolkit-Tk
Tcl-Literature
Engine
Objecttypes
Compiler
Applications
Postfix

TclForth Console

#### Command line

The command line is evaluated when you press \. Use \ to continue on the next line.

If you copy source text into the console be sure to separate definitions in the text by empty lines.

#### Stack contents

The command line displays the stack content in parentheses before the prompt "ok". Lists and strings with spaces are enclosed in braces.

#### Command History

Recall command lines with the up and down arrows.

#### Shortcuts

  • Ctrl-W = Shows the loaded Words (dictionary)
  • Ctrl-S = Clears the Stack
  • Ctrl-C = Clears the Console
  • #### Code Window

    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 (=> Setup menu).

    ### Menus

    #### File

  • Load .tcl - loads a Tcl source file
  • Load .fth - loads a Forth source file
  • #### Setup

  • 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
  • #### Help

  • TclForth Words - Displays the Forth words (dictionary) - Shortcut Ctrl+W
  • TclForth Guide - Opens the TclForth Wiki
  • Tcl Commands - Presents the Tcl commands (official manual)