> Some people are sure to snigger, but it will have something most PIC code > doesn't - readability. Unusual concept, I know, but everyone (especially > newbies like me) will be able to understand how it works. Well, there you go. Write clever optimized code, and people will complain that it is unreliable and difficult to understand. Write obvious code and people will complain that it is slow and ... obvious. You can't win. BillW