Tcl-Tk - Re: a small tk program problem

Posted on Wed Mar 26 07:19:32 2008 by dota in response to 7453 (See the whole thread of 4)
Re: a small tk program problem
thanks vkon, this way works well and i found the another way also work:
#!/usr/bin/wish set aa 0 for {set i 1} {$i < 5} {incr i} { set bt [button .$i -text $i] bind $bt <Button-1> { incr aa %W configure -text $aa update } }
what's the difference between "" and {} used in bind command?
Direct Responses: 7459 | Write a response