On Monday 08 September 2008 03:41:52 pm johnf wrote:
> 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

Thanks to everyone for taking the time to review by code.  It works like a 
champ.  

You know why I have a short neck and a high forehead?
When You ask me a question I shrug my shoulders.  And when you provide the 
answer I slap my forehead.  duh!

-- 
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]

Reply via email to