"This is a classic way to implement a switch() or 'else if' construct=20 for the PIC." Yes that sounds far more likely, thanks Colin -- colin@btech-online.co.uk Web presence: www.btech-online.co.uk Hosted by: www.justhost.com.au This email is to be considered private if addressed to a named =20 individual or Personnel Department, and public if addressed to a blog, =20 forum or news article. __________________________________ Sent from eM Client | www.emclient.com --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .