TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Content-Transfer-Encoding: 7bit
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
From: Stephane Richard <[log in to unmask]>
Date: Mon, 15 Oct 2001 23:13:01 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Reply-To: Stephane Richard <[log in to unmask]>
Parts/Attachments: text/plain (36 lines)
Just a quick question about Ada95.  Is there such a thing as a Collection
Object, or an equivalent data structure that would allow me to do the
following, for example.  Either included in Ada, or coded and available somewhere as a

Create the collection

TYPE Integer_List IS COLLECTION OF Integer (or something similar).

This_List : Integer_List;

ThisList.Add 12
ThisList.Add 24

ThisList.Delete 2  -- DELETE second element added to the collection.

and other features to allow to manipulate this list of whichever type I
choose.  In this example it's a list of integers.  But it could be a list of
records, a list of packages (if possible), a list of pretty much anything
available to the Ada95 Language.

Thank you all and I'm awaiting your precious comments and suggestions on


Stephane Richard
Software Developer

Stephane Richard
Software Developer
[log in to unmask]

Sent through GMX FreeMail -