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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,36cc6b79786b2ccc X-Google-Attributes: gid103376,public From: aaro@iki.fi (Aaro Koskinen) Subject: Re: Ada question (defining types) Date: 2000/08/17 Message-ID: #1/1 X-Deja-AN: 659333610 References: <8ngoog$f5e$1@news.uit.no> X-Complaints-To: usenet@news.helsinki.fi X-Trace: oravannahka.helsinki.fi 966519773 23892 128.214.205.10 (17 Aug 2000 13:42:53 GMT) Organization: University of Helsinki NNTP-Posting-Date: 17 Aug 2000 13:42:53 GMT Newsgroups: comp.lang.ada Date: 2000-08-17T13:42:53+00:00 List-Id: reinert@ola.npolar.no (Reinert Korsnes) writes: > 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, [...] > 300,305,310,315,320,325,330,335,340,345,350,355); Implement it using a function instead of an array. -- Aaro Koskinen, aaro@iki.fi, http://www.iki.fi/aaro