>'case n:' is *not* a label. It *cannot* be the target of a goto. Well, that is exactly what Gerhards code does earlier in this thread. He later explicitly states it is a defined action in C99 ... -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist