Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 22 Dec 2014, 22:16
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
I need a good guide to using/programming Tcl/tk
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
Mathiasdm

Joined: 05 May 2005
Posts: 100

PostPosted: 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
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Sun 31 Jul 2005, 05:02    Post subject:  

http://www.goosee.com/puppy/wikka/TclTutor
_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
Mathiasdm

Joined: 05 May 2005
Posts: 100

PostPosted: Sun 31 Jul 2005, 05:29    Post subject:  

Thanks!
Back to top
View user's profile Send private message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: 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
View user's profile Send private message 
cplater


Joined: 11 Jun 2005
Posts: 56
Location: Huntsville, Alabama

PostPosted: 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
View user's profile Send private message 
Guest
Guest


PostPosted: 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: 1237
Location: Queensland

PostPosted: 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
View user's profile Send private message 
EarlSmith

Joined: 05 May 2005
Posts: 197
Location: Chelsea, Alabama, USA

PostPosted: Mon 01 Aug 2005, 22:19    Post subject:  

Ian, how do you make it executable? Then how do you run it?
Back to top
View user's profile Send private message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0556s ][ Queries: 12 (0.0102s) ][ GZIP on ]