Page 1 of 1

I need a good guide to using/programming Tcl/tk

Posted: Sun 31 Jul 2005, 08:37
by Mathiasdm
Say, does anyone know any good websites with a guide on using/programming Tcl/tk?

Posted: Sun 31 Jul 2005, 09:02
by Lobster

Posted: Sun 31 Jul 2005, 09:29
by Mathiasdm
Thanks!

Posted: Sun 31 Jul 2005, 12:51
by Ian
If you want to get serious about tcl/Tk download Practical Programming in tcl/Tk and the tcl/Tk cookbook.

Posted: Sun 31 Jul 2005, 14:24
by cplater
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/

Posted: Mon 01 Aug 2005, 19:05
by Guest
cool
where can you get a decent compiler? simpletouse etc

Posted: Tue 02 Aug 2005, 00:56
by Ian
If you are talking about a compiler for tcl you don't need one, if you are in Puppy you can just write your tcl program in an editor, make it executable and run it.

Posted: Tue 02 Aug 2005, 02:19
by EarlSmith
Ian, how do you make it executable? Then how do you run it?

Posted: Tue 02 Aug 2005, 12:46
by Ian
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'.