Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!think.com!hsdndev!husc6!unix!mxmora From: mxmora@unix.SRI.COM (Matt Mora) Newsgroups: comp.sys.mac.programmer Subject: Re: For Loops, Summary Message-ID: <20058@unix.SRI.COM> Date: 16 Jan 91 20:04:21 GMT References: <6968@crash.cts.com> Reply-To: mxmora@unix.UUCP (Matt Mora) Organization: SRI International, Menlo Park, CA Lines: 20 In article <6968@crash.cts.com> kevin@crash.cts.com (Kevin Hill) writes: > > The problem seems to be that the variables j and k do wild things after they >do what is expected of them. Then they go off to change the correct value >of surround[9] to something wierd and go off into lala land. Have you bothered to single step through your code with a source level debugger (or macsbug for that matter)? Maybe you can find out why j and k "do wild things" or where they get tromped on. Just curious. Matt -- ___________________________________________________________ Matthew Mora | my Mac Matt_Mora@QM.SRI.COM SRI International | my SUN mxmora@unix.sri.com ___________________________________________________________