At least someone understood the value of comments back in 1969. Probably required by government specification. Too bad that 99% of code written more recently is an undocumented pile of crap. How would you know that? Today, I'd expect that a good 90% of the code written is proprietary and not subject to prying eyes. A lot of what you see as "open source" or public domain is written by ... beginners. On the other hand, I WAS duly impressed that you seem to practice what you preach, with the code you've kindly made available on your web site being very nicely commented... BillW -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.