On 3/23/2010 7:17 PM, Andrew Warren wrote: > Wow. > Nice to see that people are still talking about my old code, though. I copied a routine from your pic page just last week. I had used it once before; in fact, it's the only code I have ever used from the net verbatim. This time, I re-coded it into a higher level language. Once again, I thank you for it. It's the short random number generator code. Did I mention that it's bad code though? It has no comments. Of course, it needs none. Like the bcd clock code, there isn't much need to comment it. Not that I would know any better; I still code in absolute mode about half the time... -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist