Tcl/Tk Scripting

Programming, for all ages and all languages.
Perica
Member
Member
Posts: 454
Joined: Sat Nov 25, 2006 12:50 am

Re:Tcl/Tk Scripting

Post by Perica »

..
Last edited by Perica on Tue Dec 05, 2006 9:37 pm, edited 1 time in total.
User avatar
Neo
Member
Member
Posts: 842
Joined: Wed Oct 18, 2006 9:01 am

Re:Tcl/Tk Scripting

Post by Neo »

That doesnt sound too bad........... Or is it?
Only Human
Perica
Member
Member
Posts: 454
Joined: Sat Nov 25, 2006 12:50 am

Re:Tcl/Tk Scripting

Post by Perica »

..
Last edited by Perica on Tue Dec 05, 2006 9:37 pm, edited 1 time in total.
User avatar
Neo
Member
Member
Posts: 842
Joined: Wed Oct 18, 2006 9:01 am

Re:Tcl/Tk Scripting

Post by Neo »

This is all going to be between Unix/Linux machines.
And maybe Windows (if at all)
Only Human
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:Tcl/Tk Scripting

Post by Candy »

most software doesn't give a damn. Only quick jobs such as (I believe) more on unix and Notepad on windows can't handle it and show either ^M at the end of a line (the CR) or forget what a line end was and give you a bunch of characters as a big pile.
User avatar
Neo
Member
Member
Posts: 842
Joined: Wed Oct 18, 2006 9:01 am

Re:Tcl/Tk Scripting

Post by Neo »

I'm getting a serious headcache trying to write a piece of script to use sockets in Tcl.
Does anyboy here know how to do this (with error handling) or any good references for this. I tried googling but didnt get much help. (the Tcl/Tk site seems to have broken links)
Only Human
User avatar
Neo
Member
Member
Posts: 842
Joined: Wed Oct 18, 2006 9:01 am

Re:Tcl/Tk Scripting

Post by Neo »

Ok I sort off got it working with a couple of 'catch'es and although it isn't exactly what i wanted the output is okay (just freezes up for a brief time period in case of errors).

Now I'm searching for ways of doing number manipulation and conversions from one form to another (bin to dec etc..).
Anybody know how to do bitwise ops with some scriptable commands?
Only Human
Post Reply