Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!cornell!rochester!PT.CS.CMU.EDU!andrew.cmu.edu!jk3k+ From: jk3k+@andrew.cmu.edu (Joe Keane) Newsgroups: comp.lang.modula2 Subject: Re: 0-based/1-based arrays Message-ID: Date: 5 Mar 88 09:42:44 GMT References: <7161@sol.ARPA> <2740@mmintl.UUCP>, <4343@june.cs.washington.edu> Organization: Carnegie Mellon University Lines: 7 In-Reply-To: <4343@june.cs.washington.edu> I find 0-based arrays to be more elegant. The formulas for computing the position of an element are simpler, especially in a mulitdimensional array. The element which corresponds to size of the array is the beginning of the next array, which may be more useful than the last element in the array. However, i do like freedom of choice to sometimes pick a different base. --Joe