Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!garnet.berkeley.edu!bmyers From: bmyers@garnet.berkeley.edu (Brian Myers) Newsgroups: comp.os.msdos.programmer Subject: QuickC bug with 2D array *SOLVED* Summary: Thanks to all who answered Message-ID: <1991Feb20.061631.593@agate.berkeley.edu> Date: 20 Feb 91 06:16:31 GMT Sender: usenet@agate.berkeley.edu (USENET Administrator) Organization: University of California, Berkeley Lines: 12 My thanks to all of you who quickly spotted my error in the short program I posted. Yes indeed, I had simply forgotten that when you declare an array to have say 'X' number of elements, they start at 0 and end at X-1. I had mistakenly mis-remembered that they started at 0 and end at X. Thanks again. Brian --------------------------------------------------------------------------- Brian Myers bmyers@garnet.berkeley.edu