From: "Kertis A. Henderson" Newsgroups: comp.os.msdos.djgpp Subject: Re: Passing multidimentional arrays Date: Thu, 09 Jul 1998 23:15:04 -0400 Organization: Penn State University, Center for Academic Computing Lines: 15 Message-ID: <35A58738.FB41D4CB@frozenwave.com> References: <3vep1.1610$e36 DOT 27573 AT news DOT mci2000 DOT com> NNTP-Posting-Host: access-mkts1p9.mk.psu.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk clint.allen wrote: > > I don't quite understand how to pass multidimentional arrays to a function. > I am using two-dimentional arrays right now. I read somewhere that you must > specify the column subscript, but not the row subscript. The problem is, I > have several arrays (or tables) of different sizes, and I'm trying to pass > them to a lookup function. Pass a pointer to the function, and do the indexing manually inside the function. -- Kertis Henderson kertis AT frozenwave DOT com