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-Thread: 103376,ccec7cf654f5e8c3,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail From: caellumx@yahoo.com Newsgroups: comp.lang.ada Subject: creating database Date: 8 May 2005 10:02:00 -0700 Organization: http://groups.google.com Message-ID: <1115570998.707181.84650@o13g2000cwo.googlegroups.com> NNTP-Posting-Host: 144.32.128.68 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1115571724 29785 127.0.0.1 (8 May 2005 17:02:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 8 May 2005 17:02:04 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: o13g2000cwo.googlegroups.com; posting-host=144.32.128.68; posting-account=8YgfGgsAAAB58jEfHInTgX5VZgne9nKd Xref: g2news1.google.com comp.lang.ada:10953 Date: 2005-05-08T10:02:00-07:00 List-Id: hi I'm trying to create a database using ada. I'm struggling to work out how to implement the record type and storage. The data only has to be stored in main memory. I was thinking of creating the ADT as a record with various fields, and then an array with each element containing a record. However, I don't know how many records there'll be so it seems inefficient to declare an array of a particular size. Any advice one how to implement the database would be very much appreciated. As an ada novice, I'm struggling.