On Monday 08 September 2008 03:37:09 pm Nate Lowrie wrote: > On Mon, Sep 8, 2008 at 4:33 PM, johnf <[EMAIL PROTECTED]> wrote: > > OK it looks like I discovered my problem. However, I need someone to > > explain why my old code did not work. What appears to be not working was > > self.thegauge.Value=+1 > > > > but > > self.thegauge.Value = var number that continues to get larger > > worked. > > This tells me that python was always setting the gauge value to 1 instead > > of adding 1 to the current value. Can someone explain how that happened? > > The first line of code states set the value equal to +1 every single > time. I believe you meant to say "self.thegauge.Value += 1", which > states that Value should be equal to the current value + 1. > > Nate L.
Man in front of me all the time. Thanks -- John Fabiani _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
