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=-0.1 required=5.0 tests=AXB_XMAILER_MIMEOLE_OL_024C2, BAYES_00,MAILING_LIST_MULTI,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f12483752dbc412b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-10 04:04:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!deine.net!freenix!enst!enst.fr!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: How would i keep 'records' in ADA ? Date: Sun, 10 Mar 2002 06:03:17 -0600 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1015761842 41606 137.194.161.2 (10 Mar 2002 12:04:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sun, 10 Mar 2002 12:04:02 +0000 (UTC) Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:21013 Date: 2002-03-10T06:03:17-06:00 You would probably be better off using linked lists, rather than arrays. I have a "toy" application demonstrating how to do this, adding and deleting inventory items, and saving the inventory database to disk when exiting the program. You can download either of these files to see the example: ftp.ada95.com/pub/pet_store.tgz ftp.ada95.com/pub/pet_store.tar.gz ----- Original Message ----- From: "Jim" Newsgroups: comp.lang.ada To: Sent: March 09, 2002 4:35 PM Subject: How would i keep 'records' in ADA ? > i dont mean records as part of the programming in ADA but if i wanted > to keep details of a person eg name, address, post code etc for a > program, how would i do it ? > > i need to be able to ADD and REMOVE person details. > > if i use arrays, how would i go about REMOVEing data? would i just > replace it with null or meaningless statements or slice the array ? > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada >