comp.lang.ada
 help / color / mirror / Atom feed
From: reinert@ola.npolar.no (Reinert Korsnes)
Subject: Ada question (defining types)
Date: 2000/08/17
Date: 2000-08-17T13:19:12+00:00	[thread overview]
Message-ID: <8ngoog$f5e$1@news.uit.no> (raw)

Hi, I am still a bit new on Ada:

Is it possible to make the following more compact and relyable
(less typo/error prone):


 Longs : constant array ( Long_I ) of Integer :=
             (  0,  5, 10, 15, 20, 25, 30, 35, 40, 45, 50,
                       55, 60, 65, 70, 75, 80, 85, 90, 95,
              100,105,110,115,120,125,130,135,140,145,150,
                      155,160,165,170,175,180,185,190,195,
              200,205,210,215,220,225,230,235,240,245,250,
                      255,260,265,270,275,280,285,290,295,
              300,305,310,315,320,325,330,335,340,345,350,355);

?

I believe this is a clumsy construct...

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-08-17  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-17  0:00 Reinert Korsnes [this message]
2000-08-17  0:00 ` Ada question (defining types) Aaro Koskinen
2000-08-17  0:00   ` Ian Clifton
2000-08-18  0:00 ` Dr. Joachim Schr�er
replies disabled

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