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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,994623ba34b222de X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!d38g2000prn.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Ada code snippet help (array of arrays) Date: Thu, 14 May 2009 08:16:22 -0700 (PDT) Organization: http://groups.google.com Message-ID: <491646c2-ec53-4f54-9e6e-f89d59f40b76@d38g2000prn.googlegroups.com> References: <5628eb43-3d56-4b20-976a-6bb0f40dcd49@s31g2000vbp.googlegroups.com> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1242314182 29267 127.0.0.1 (14 May 2009 15:16:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 14 May 2009 15:16:22 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d38g2000prn.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:5845 Date: 2009-05-14T08:16:22-07:00 List-Id: On May 14, 1:05 am, Egil H=F8vik wrote: > > T: constant Boolean :=3D True; > > F: constant Boolean :=3D False; > > No need to define your own constants... True and False are > already enumerated values (constants) of type Boolean. I think he defined those just for readability. If you have a large constant array, it might look better, look more like a chart, take up less space on the screen, be easier to line up, etc., if you can do it with shorter names such as single letters. I've seen this sort of thing done before. -- Adam