Author |
Message |
Mathiasdm
Joined: 05 May 2005 Posts: 100
|
Posted: Sun 31 Jul 2005, 04:37 Post subject:
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?
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15238 Location: Paradox Realm
|
Posted: Sun 31 Jul 2005, 05:02 Post subject:
|
|
http://www.goosee.com/puppy/wikka/TclTutor
_________________ YinYana AI Buddhism
|
Back to top
|
|
 |
Mathiasdm
Joined: 05 May 2005 Posts: 100
|
Posted: Sun 31 Jul 2005, 05:29 Post subject:
|
|
Thanks!
|
Back to top
|
|
 |
Ian
Official Dog Handler

Joined: 04 May 2005 Posts: 1238 Location: Queensland
|
Posted: Sun 31 Jul 2005, 08:51 Post subject:
|
|
If you want to get serious about tcl/Tk download Practical Programming in tcl/Tk and the tcl/Tk cookbook.
|
Back to top
|
|
 |
cplater

Joined: 11 Jun 2005 Posts: 56 Location: Huntsville, Alabama
|
Posted: Sun 31 Jul 2005, 10:24 Post subject:
|
|
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/
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Mon 01 Aug 2005, 15:05 Post subject:
|
|
cool
where can you get a decent compiler? simpletouse etc
|
Back to top
|
|
 |
Ian
Official Dog Handler

Joined: 04 May 2005 Posts: 1238 Location: Queensland
|
Posted: Mon 01 Aug 2005, 20:56 Post subject:
|
|
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.
|
Back to top
|
|
 |
EarlSmith
Joined: 05 May 2005 Posts: 197 Location: Chelsea, Alabama, USA
|
Posted: Mon 01 Aug 2005, 22:19 Post subject:
|
|
Ian, how do you make it executable? Then how do you run it?
|
Back to top
|
|
 |
Ian
Official Dog Handler

Joined: 04 May 2005 Posts: 1238 Location: Queensland
|
Posted: Tue 02 Aug 2005, 08:46 Post subject:
|
|
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'.
|
Back to top
|
|
 |
|