Re: loop in body of main program
Phil Edwards <[email protected]> Tue, 01 Apr 2008 09:56:40 +0100
| Newsgroups | gmane.comp.python.pythoncard |
|---|---|
| Message-ID | <[email protected]> |
Neil Hughes wrote: > > Works OK, apart from the mysterious: > > self.countValue = self.components.Gauge1.max + 1 > > which produces a Spinal Tap moment when you hit the stop button...was > that intentional ;-) > Sort of - that was my quick and dirty way of ensuring that the loop stopped when I wanted it to. The actual bug I meant was that if you run it and let the loop run to completion, it doesn't re-enable the 'Start Loop' button when it's done. Told you it was rubbish code... :-) -- Regards Phil Edwards | PGP/GnuPG Key Id Brighton, UK | 0x68393AEE ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace