4 ms·
Forth solely based on Tcl/Tk - nice idea! This allows me to write GUI scripts without having to deal with the TCL syntax, and without being dependent on binding
by progman 10y ago
Forth solely based on Tcl/Tk - nice idea! This allows me to write GUI scripts without having to deal with the TCL syntax, and without being dependent on bindings to other languages. This is the KISS principle in action!
However, there are two little bugs (in Linux).
1) "Help / tclForth Guide" causes an error message because an URL cannot be executed as a script. You should take reference to the BROWSER environment variable. This should also work in OSX.
2) When I start the chess GUI there also appears an empty window named "chess.tcl". Is it possible to keep this window close?
You should mention on your homepage that the tcl scripts should be started with "wish", or you should add the following two lines at the top of the tcl scripts:
#!/bin/sh
exec wish "$0" ${1+"$@"}
By the way, how can I handle command line arguments?