Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!dog.ee.lbl.gov!nosc!crash!kevin@crash.cts.com From: kevin@crash.cts.com (Kevin Hill) Newsgroups: comp.sys.mac.programmer Subject: Thanks for the Help Message-ID: <6990@crash.cts.com> Date: 17 Jan 91 02:53:58 GMT Sender: root@crash.cts.com Lines: 10 Well, I learned my lesson, next time I ask a question about any language, I will surely post the variable declarations to the net. Sorry Guys! The problem was that I was using the declaration int surround[9] as if I could use the variable surround[9]. That was mistaken, and as someone pointed out, I can't, well shouldn't use the variable surround[9] becuase it would probably overwrite the variable that was next in memory. Guess what everyone, It was overwriting one of the variables of the for loop that was overwritten!! Thanks.