Dwayne Reid wrote: > 2) Andy doesn't comment all of his code. That doesn't mean that its > bad code. Yes it does, at least that the uncommented code is bad. Proper commenting is a essential part of code. Good code requires, among other things, good comments. This whole thread is a great example. The OP was confused about what the code did. If it had been properly commented, then there likely would not have been confusion in the first place. I can't speak for other code Andy has written that I haven't seen, but I stand by my assesment that this particular piece is bad code. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist