A console window in Tycho provides a shell for interacting with the Tcl interpreter. Note that Tk and Itcl are understood by this interpreter, as are, of course, all Tycho commands. If you are running a version of Tycho with Ptolemy attached, the ptcl commands are also understood. Commands are executed at the global scope. A console windows is derived from the Edit window, and therefore inherits all of its features. This page documents the additional features provided.
The Console window has a number of features designed to make it easier to experiment with Tcl scripts. Foremost among these is the history mechanism, which keeps a record of previously executed commands. A "Special" menu provides two commands related to this:
Note that the Save-As command, unlike the Edit history command, saves a snapshot of the previously executed command together with the returned values and prompts. Thus, it provides a mechanism for documenting an interaction with the Tcl interpreter.