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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bfd2577f2aff5bb X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-26 09:11:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.icl.net!diablo.netcom.net.uk!netcom.net.uk!btnet-peer!btnet-peer0!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Matt Thomas" Newsgroups: comp.lang.ada Subject: Re: help setting up an array of records Date: Sun, 26 May 2002 16:10:02 +0000 (UTC) Organization: BT Openworld Message-ID: References: NNTP-Posting-Host: host62-6-92-15.in-addr.btopenworld.com X-Trace: knossos.btinternet.com 1022429402 28067 62.6.92.15 (26 May 2002 16:10:02 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Sun, 26 May 2002 16:10:02 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Xref: archiver1.google.com comp.lang.ada:24832 Date: 2002-05-26T16:10:02+00:00 List-Id: > > MACHINE_SLOTS : constant := 6; -- > > type PRODUCT_TYPE is > record > NAME : STRING (1..12); > LEN : POSITIVE; > PRICE : INTEGER; > QUANTITY : INTEGER; > end record; > > type PRODUCT_TYPE_ARR is array (1..MACHINE_SLOTS) of PRODUCT_TYPE; > > PRODUCT : PRODUCT_TYPE_ARR; --setting up the array PRODUCT(1) := ("Cola ",4,60,5); Yes I put that line in the code just below the the rest of the code I had written.