> To answer your question, I don't know since I don't have a way to > scan for this except by manually looking at code. I know I have > subroutines that are only a few lines long, significantly less than > 10. I'm sure I've also got subroutines that are in the 100s of lines > somewhere. The line length of a subroutine is not relevant, so I > never paid much attention to it. I should have added that if you really want to know, you can look for yourself. Go to http://www.embedinc.com/pic/dload.htm and install the "Host source code and everything" release. I've written a lot more code that what I give out publicly, but there is plenty there to take see the style. I just ran the release script and measured the Pascal code. There are over 175,000 lines in a bit over 1000 files. Some of those date back to the late 1980s and others are recent. In that volume of code I'm sure you can find a few stupidities if you look hard enough, but overall I stand by this being well written 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