Colin, > contents of byte =3D decimal 8 - is that what you meant to type rather > than bit 3 of byte? Actually, that would make sense if byte hadn't been cleared previously > You confused me there with the word elses, but yes sort of, the first > IF is tested, and if found to be false it will jump to - >=20 > :: tempstep >>=3D 1;shift #1 >=20 > ..... and so on down the list. Thanks much Joe --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .