Hi,
Thanks for your reply.
I still have problem with stopping the server (question #3). when i the server starts listening i can't execute new commands in the server's shell. can i run the server to listen in the background?
Thanks.
Hi,
I have written a simple server<->multi client connection program, and i have a few questions i can't find an answer to:
1. Is there any way a client can check if the server is busy with another client?
2. Can i close all client connection from the server session? how?
3. How can i stop the...
thanks man.
this page really does have lots of matematics programs :)
just another question - the stddev proc in that page is really nice, and works great, for next time, how should i use the packges? (like statistics ect..)
thanks.
hi i am using bind to call 2 procs,
but have a problem:
i would like to exectue this two command:
1. [list Text .display %W $select]
2. clear_list
how should i write it?
bind $parent.mainframe.main <ButtonRelease-1> ....
i have tried:
bind $parent.mainframe.main <ButtonRelease-1> {...
Hi,
suppose i have 3 variables:
var_a
var_b
var_c
and i have another variable for selection (a/b/c):
select
how should io write in order to get the value from var_a,var_b, var_c?
i tried:
${var_{$select}}
but it doesnt work...
Hi,
I have a file i am reading each line:
For eample:
4 foo b
3 bar c
2 foo_bar b
Ans so on...
Each line i split into 3 ( i j k ) and define an array named data:
lappend data($k) $i $j
At last i am going through all keys of the array and write every key value into a file
So if one key has few...
Hi,
suppuse i have some varialbes: foo, bar, aaa.
each varialbe has a value.
and i send to a proc the var name as a string.
how can i get the var value?
for example:
proc {var_name} {
}
i would like to be able to get the value of the variable.
if i send "foo"
i want to see the value of foo...
Hi all,
i have created a radiobutton:
radiobutton .a -value "1" -text "a" -variable a -command "proc_a"
if i want to run one more proc in addition to tis one when the radiobutton is pressed how should i write it?
thanks!
Hi all,
i am trying to write a gui program,
i have 3 radiobuttons, and when i select each one it calls a proc that creats a few buttons,
my question is how can i delete the old buttons in every radiobutton select?
thanks
Hi i am writing a simple script,
all i want to to is read a file and print its lines.
the script:
#!/bin/csh
set fid [open my_file.dat r+]
while {![eof $fid]} {
set line [gets $fid]
puts $fid
}
close $fid
and when i run :
source my_script.tcl
i am getting:
"set...
Hi all,
i have a text box, using for entering search text,
nowthe search proc works only when i push the "find" button.
i want it to work after pressing the Return key when i am in the textbox.
this is the code:
frame .bottom
label .bottom.search -text "search:"
entry .bottom.ent -textvariable...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.