Thanks, I think I understand now. SC skips if not equal and before I was xoring with null memory or something which is why I was getting bad results. Works like a charm. Incidentally, anyone know a good way to attach LEDs inside a case? I've been using twisted pair crimps cut in half. Couldn't locate double crimps that were small enough and reasonably priced. A friend uses wrapping wire and bonds it with glue but I'd rather use the tubes than get glue all over the place. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body