I need a good guide to using/programming Tcl/tk
I need a good guide to using/programming Tcl/tk
Say, does anyone know any good websites with a guide on using/programming Tcl/tk?
If you haven't found it yet, the tcler's Wiki has a lot of helpful information and some code samples that help. http://wiki.tcl.tk/
In Puppy if you write a simple script like this,
#!/usr/bin/tclsh
puts {Hello from Puppy!}
and save it as helopup in /root/my-applications, you can make it executable by simply opening /root/my-applications in rox and right clicking on the file helopup.
From the menu that appears click on permissions and in the window that opens ensure that a+x (Make executable/searchable) is in the command field at the bottom of the window that opens, if so click Yes.
To run the program right click in the rox window again and click on 'Xterm here' then in the terminal that opens type in ./helopup and hit enter.
There is a lot more tcl stuff on the Wiki.
That is a dot . then a slash / then the name of the program 'helopup'.
#!/usr/bin/tclsh
puts {Hello from Puppy!}
and save it as helopup in /root/my-applications, you can make it executable by simply opening /root/my-applications in rox and right clicking on the file helopup.
From the menu that appears click on permissions and in the window that opens ensure that a+x (Make executable/searchable) is in the command field at the bottom of the window that opens, if so click Yes.
To run the program right click in the rox window again and click on 'Xterm here' then in the terminal that opens type in ./helopup and hit enter.
There is a lot more tcl stuff on the Wiki.
That is a dot . then a slash / then the name of the program 'helopup'.