greadey has asked for the wisdom of the Perl Monks concerning the following question:
Take all the perl bits out and you have a wish script that works perfectly. Perl complains (under -w switch) that var1 and var2 are used once only and that var3 is not initialised. If anyone could give me some pointers I would be eternally grateful. Regards to all Perl Monks.entry(".e", -textvariable => var1); entry(".e2, -textvarible => var2); entry(".e3", -textvariable => var3); button(".b", -command => {set var3 [expr $var1 + $var2]}); tkpack ".e"; tkpack ".e2"; tkpack ".e3"; tkpack ".b"; MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tcl::Tk module
by spudzeppelin (Pilgrim) on Jun 14, 2000 at 19:42 UTC | |
by softworkz (Monk) on Aug 17, 2001 at 19:22 UTC | |
|
Re: Tcl::Tk module
by gnat (Beadle) on Jun 14, 2000 at 22:42 UTC | |
|
RE: Tcl::Tk module
by le (Friar) on Jun 14, 2000 at 18:33 UTC |