in reply to Tk Screen Refresh
To:my $screen = $top -> Label( -textvariable => "$number", -background => 'white', -width => 30, -borderwidth => 2, -relief => 'sunken', ) -> pack(-pady => 5);
my $screen = $top -> Label( -text => \$number, -background => 'white', -width => 30, -borderwidth => 2, -relief => 'sunken', ) -> pack(-pady => 5);
There are other issues with the logic you're using for the numbers. Still, it's a pretty good first attempt.
Rob
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk Screen Refresh
by Andrew_Levenson (Hermit) on Nov 28, 2006 at 11:29 UTC |