> I hope you would not mind if I share a modification of your > macro set No, that's great, thanks. For this particular application I'm using all 8 redefined characters, so can't have 0 as the terminator, as it will be a character in some strings. But otherwise your mods are good and I'd use your version when I could -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist