Thanks for all the great solutions. I'm taking the best pieces from them all and putting them into the weird situation I have. I only have 22 cycles free at a time, and not always in the same place in my program, so I have to remember where I was in decoding and parsing my input. It's working out nicely. Friendly regards, Bob