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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,22666a247c07ba1,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-10 08:49:17 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!cycny01.gnilink.net!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny03.gnilink.net.POSTED!53ab2750!not-for-mail From: "Stephane Richard" Newsgroups: comp.lang.ada Subject: Question about Ada and constant Arrays X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: Date: Mon, 10 Nov 2003 16:49:17 GMT NNTP-Posting-Host: 141.149.78.146 X-Complaints-To: abuse@verizon.net X-Trace: nwrdny03.gnilink.net 1068482957 141.149.78.146 (Mon, 10 Nov 2003 11:49:17 EST) NNTP-Posting-Date: Mon, 10 Nov 2003 11:49:17 EST Xref: archiver1.google.com comp.lang.ada:2302 Date: 2003-11-10T16:49:17+00:00 List-Id: Hi everyone, As the subject line says, the object of the question would be. I'd like to make an constant array of a given record type and initialize it upon it's creation. Type TestRecord Is Record Enabled: Boolean; Name: String(60); Value: Integer; End Record; Constant TestArray(1..5): TestRecord = ( (True, "Test1", 1),: (False, "Test2", 2),: (False, "Test3", 4),: (False, "Test4", 8),: (True, "Test5", 16) ); Or something similar to that. Is that possible? and How? Thank you all :-). -- "To err is human. To really screw up, you need C++!" St�phane Richard "Ada World" Webmaster http://www.adaworld.com