I saw the errors right away, but I didn't know I was supposed to shout out the answer. =] - Marcel On 10/22/07, Dario Greggio wrote: > William "Chops" Westfield wrote: > > > clearbit() needs to have "word & ~(1< > clears all the other bits. (setbit() is ok; it's just there for > > context.) > > > > I've made both of these mistakes in real programs, and seen lots > > of other people make them too. Perhaps they're too hard; they > > ARE the sort of bug that is hard to see unless you've seen them > > before, so maybe they only check experience... > > In fact I missed it :-( > :-) > > -- > Ciao, Dario > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist