comp.lang.ada
 help / color / mirror / Atom feed
From: reinert@ola.npolar.no (Reinert Korsnes)
Subject: Re: How to make like Fortran "do i = 1,20,2"
Date: 2000/07/28
Date: 2000-07-28T08:51:47+00:00	[thread overview]
Message-ID: <8lrhj3$il7$1@news.uit.no> (raw)
In-Reply-To: aa1g5.67$bT6.41853@news.pacbell.net

In article <aa1g5.67$bT6.41853@news.pacbell.net>,
 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




  reply	other threads:[~2000-07-28  0:00 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-27  0:00 How to make like Fortran "do i = 1,20,2" Reinert Korsnes
2000-07-27  0:00 ` Lutz Donnerhacke
2000-07-27  0:00 ` G. de Montmollin
2000-07-27  0:00 ` des walker
2000-07-27  0:00   ` tmoran
2000-07-28  0:00     ` Reinert Korsnes [this message]
2000-07-28  0:00       ` Gautier
2000-07-29  0:00       ` tmoran
2000-07-27  0:00   ` Gary Scott
2000-07-27  0:00 ` Ken Garlington
2000-07-27  0:00 ` Larry Kilgallen
2000-07-27  0:00   ` Gary Scott
2000-07-27  0:00     ` Pat Rogers
2000-07-27  0:00     ` mjsilva
2000-07-27  0:00     ` Matthew J Heaney
2000-07-28  0:00       ` Gary Scott
2000-07-28  0:00         ` mjsilva
2000-07-29  0:00         ` Ehud Lamm
2000-07-28  0:00           ` Richard Riehle
2000-07-29  0:00           ` Robert I. Eachus
     [not found]           ` <39833637.3B83BFAC@lmtas.lmco.com>
2000-07-29  0:00             ` Gary Scott
2000-07-27  0:00     ` Larry Kilgallen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox