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

Using applications, configuring, problems
Post Reply
Message
Author
Mathiasdm
Posts: 100
Joined: Thu 05 May 2005, 07:52

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

#1 Post by Mathiasdm »

Say, does anyone know any good websites with a guide on using/programming Tcl/tk?

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#2 Post by Lobster »

Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Mathiasdm
Posts: 100
Joined: Thu 05 May 2005, 07:52

#3 Post by Mathiasdm »

Thanks!

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#4 Post by Ian »

If you want to get serious about tcl/Tk download Practical Programming in tcl/Tk and the tcl/Tk cookbook.

User avatar
cplater
Posts: 56
Joined: Sat 11 Jun 2005, 11:51
Location: Huntsville, Alabama

#5 Post 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/

Guest

#6 Post by Guest »

cool
where can you get a decent compiler? simpletouse etc

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#7 Post 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.

EarlSmith
Posts: 198
Joined: Fri 06 May 2005, 03:23
Location: Chelsea, Alabama, USA

#8 Post by EarlSmith »

Ian, how do you make it executable? Then how do you run it?

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#9 Post 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'.

Post Reply