>I use Pascal's string encoding method by making the first >byte be the length of the string. ... > > const char *Messages[] = {m1,m2,m3,m4}; > >(It's a little harder to get C to automatically figure out >the length of a string and encode it in the Pascal style.) I done something similar, but used C style strings with a null byte at the end, then scanned the string until I reached the null. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist