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 Thu 27 Nov 2014, 01:56
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 Posts_count  
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: 15117
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_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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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