Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ee1
  • Content: Threads
  • Order by date
  1. ee1

    Tcl Client-Server protocol

    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...
  2. ee1

    calculate standard deviation

    Hi, how do i calculate standard deviation in tcl? i have a list i want to calculate for. thanks.
  3. ee1

    bind call 2 procs problem...

    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> {...
  4. ee1

    variables -another question

    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...
  5. ee1

    Help needed - arrays and files

    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...
  6. ee1

    variable name - tk

    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...
  7. ee1

    run 2 commands with radiobutton select in TK

    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!
  8. ee1

    tk question

    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
  9. ee1

    very simple question in tcl

    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...
  10. ee1

    help with textbox and Return key...

    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...
  11. ee1

    use arrow keys - listbox, TX

    Hi, i have created a listbox but i cant nevigate with the arrow key, anyone has an idea why?... thanks!
  12. ee1

    sorting text file and adding table header...

    Hi all, I am new to tcl and have a question.. I have the followwing txt file: | text1 | 34.540000 5.1800000 | 0.281900 | | text2 | 69.230000 7.9100000 | 0.022220 | and continue... my question is: i would like to: 1. sort the file by the second column.. 2. i would like to add the file a header...

Part and Inventory Search

Back
Top