I'm trying to Interrupt with a switch. Can I do this?

dhenry, could you possibly break that down into what that'd translate to as far as a small snippet of code?