From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e511f3ccb3da24af X-Google-Attributes: gid103376,public From: reinert@ola.npolar.no (Reinert Korsnes) Subject: Re: How to make like Fortran "do i = 1,20,2" Date: 2000/07/28 Message-ID: <8lrhj3$il7$1@news.uit.no>#1/1 X-Deja-AN: 651740343 References: <398066A3.8134B965@gecm.com> X-Complaints-To: usenet@news.uit.no X-Trace: news.uit.no 964774307 19111 158.39.64.31 (28 Jul 2000 08:51:47 GMT) Organization: University of Troms� Reply-To: Reinert.Korsnes@npolar.no NNTP-Posting-Date: 28 Jul 2000 08:51:47 GMT Newsgroups: comp.lang.ada Date: 2000-07-28T08:51:47+00:00 List-Id: In article , tmoran@bix.com writes: >>Often wanting to process data in this manner would suggest that there >>might be a more meaningful way to express the structure of the data. > Amen! In my experience, if Ada makes it hard to code something one >way, some thought will almost always show that it could be expressed >more elegantly and more clearly in another way. > Why in this case do you want to step by 2's through the array? OK, I've learned a lesson. I tried a "hack".... No excuses hereby expressed. But when one mixes languages one may have to visit each N'te element in arrays. But this may not be really Ada.... When one tries to deal with representing geometry and solve differential equations and following some mathematical notation, one may want to visit subsets of elements in arrays ? (Though, those examples may be odd and based on "thinking Fortran"....). reinert -- Norwegian Polar Institute Polar Environment Center N-9296 Tromso Norway Fax: +47 77750501 http://geophys.npolar.no/~reinert/personal.html