Article View: comp.lang.modula2
Article #4120Re: 0-based/1-based arrays
From: P Douglas Reeder
Date: Sat, 19 Mar 1988 09:40
Date: Sat, 19 Mar 1988 09:40
9 lines
952 bytes
952 bytes
I like being able to make the lower bound of an array whichever I prefer and is the sensible one. Allowing this requires only a trivial addition to array element evaluation: the lower bound is subtracted from the index first. -- Doug Reeder USENET: ...!tektronix!reed!douglas Box 502 Reed College from BITNET: douglas@reed.UUCP 3203 S.E. Woodstock from ARPA: !tektronix!reed!douglas@Berkley Portland, OR 97202 NGC4503: Local Group,Milky Way,Sol III,122 38'W 45 28'N
Technical Details
Message-ID:
<8496@reed.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!tektronix!reed!douglasReferences:
<7161@sol.ARPA> <2740@mmintl.UUCP> <4343@june.cs.washington.edu> <kW=wqIy00Uo507dUV3@andrew.cmu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!tektronix!reed!douglas From: douglas@reed.UUCP (P Douglas Reeder) Newsgroups: comp.lang.modula2 Subject: Re: 0-based/1-based arrays Message-ID: <8496@reed.UUCP> Date: 19 Mar 88 09:40:10 GMT References: <7161@sol.ARPA> <2740@mmintl.UUCP> <4343@june.cs.washington.edu> <kW=wqIy00Uo507dUV3@andrew.cmu.edu> Reply-To: douglas@reed.UUCP (P Douglas Reeder) Organization: Reed College, Portland OR Lines: 9