I find that strtok(), with simple conversion routines such as atoi(), are an excellent substitute for the scanf() family in small embedded systems. They are much smaller, because they don't contain a parser and are less general. -- Rick Jenkins <r...@hartmantech.com> Hartman Technica http://www.hartmantech.com Phone +1 (403) 230-1987 voice & fax 221 35 Avenue. N.E., Calgary, Alberta, Canada T2E 2K5