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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,22666a247c07ba1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-10 09:11:56 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Question about Ada and constant Arrays Date: Mon, 10 Nov 2003 17:11:56 +0000 (UTC) Organization: PVV Message-ID: References: NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1068484316 11871 129.241.83.82 (10 Nov 2003 17:11:56 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Mon, 10 Nov 2003 17:11:56 +0000 (UTC) User-Agent: slrn/0.9.8.0 (Linux) Xref: archiver1.google.com comp.lang.ada:2305 Date: 2003-11-10T17:11:56+00:00 List-Id: On 2003-11-10, Preben Randhol wrote: > My_Array : constant Test_Array := > (1 => (True, "Test1", 1), > 2 => (False, "Test2", 2), > 3 => (False, "Test3", 4), > 4 => (False, "Test4", 8), > 5 => (True, "Test5", 16)); This can also be written as: My_Array : constant Test_Array := ( (True, "Test1", 1), (False, "Test2", 2), (False, "Test3", 4), (False, "Test4", 8), (True, "Test5", 16) ); Depending on your taste :-) HTH Preben -- "Saving keystrokes is the job of the text editor, not the programming language."