comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: How would i keep 'records' in ADA ?
Date: Sun, 10 Mar 2002 06:03:17 -0600
Date: 2002-03-10T06:03:17-06:00	[thread overview]
Message-ID: <mailman.1015761842.11852.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: ab6237e2.0203091435.44234ae4@posting.google.com

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" <genx54321@hotmail.com>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
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
> 






      parent reply	other threads:[~2002-03-10 12:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-09 22:35 How would i keep 'records' in ADA ? Jim
2002-03-09 23:29 ` chris.danx
2002-03-09 23:32   ` chris.danx
2002-03-10  0:33     ` Jim
2002-03-10  2:00       ` tmoran
2002-03-10  6:51       ` Jeffrey Carter
2002-03-10 12:14       ` rmoldskr
2002-03-11 15:33         ` Marin David Condic
2002-03-10 12:45       ` chris.danx
2002-03-11 15:39         ` Marin David Condic
2002-03-10 12:03 ` David C. Hoos, Sr. [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox