To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: about the strange behavior.... Date: Wed, 23 Sep 92 13:02:40 -0500 From: mll AT aio DOT jsc DOT nasa DOT gov sorry gang, it seems that no matter how long you program, stupid errors can still bite you. in the subroutine i declared: char ch; and later did: sprintf(&ch, "%d", var); where is an integer from 0-2. this was not good. What I needed was something like: char ch[10]; * * * sprintf(ch, "%d", var); silly me. sorry again, mark ===================================================================== Mark L. Littlefield Intelligent Systems Department internet: mll AT aio DOT jsc DOT nasa DOT gov USsnail: Lockheed Engineering and Sciences 2400 Nasa Rd 1 / MC C-19 Houston, TX 77058-3711 ====================================================================