comp.lang.ada
 help / color / mirror / Atom feed
From: "news.oxy.com" <Vladimir_Olensky@oxy.com>
Subject: Re: Doubly linked list.
Date: 1999/01/19
Date: 1999-01-19T00:00:00+00:00	[thread overview]
Message-ID: <781p6h$mlg$1@remarQ.com> (raw)
In-Reply-To: 7560vn$21e@romeo.logica.co.uk


Matt Tyler wrote in message <7560vn$21e@romeo.logica.co.uk>...
>I'm having trouble implementing a Doubly linked list in ada.
>
>My procedure to add a new singly linked record to the list is (body only)
>
>List:=new Box'(V,List);
>
>where V is an integer and List is an access type to box.
>
>I don't understand how to set another access type in the record to the
>previous record on the list. Can anyone help??
>
>P.S is there a comp.lang.ada faq ???????????
>
>Cheers,
>
>Matt Tyler
>
>

There is no need to reinvent the wheel ( of course if you do not need to
have smth very specific).
Have a look at the ADA95 implementation of the Booch components
 http://www.pogner.demon.co.uk/components/bc/ ).
Everything is already at hand (including all types of  linked lists). Just
use it. Also this is very good example of ADA95 programming.

Regards,
Vladimir Olensky (Vladimir_Olensky@oxy.com)
Telecommunication specialist,
Occidental C.I.S. Service, Inc. ( www.oxy.com )
Moscow,
Russia.








  parent reply	other threads:[~1999-01-19  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-15  0:00 Doubly linked list Matt Tyler
1998-12-15  0:00 ` Tucker Taft
1999-01-19  0:00 ` news.oxy.com [this message]
1999-01-19  0:00   ` Simon Wright
1999-01-20  0:00     ` news.oxy.com
1999-01-21  0:00       ` Simon Wright
1999-01-21  0:00         ` news.oxy.com
  -- strict thread matches above, loose matches on Subject: below --
1993-09-24 17:06 Doubly Linked List Robert Kitzberger
1993-09-24 13:32 John Lorenzen
1993-09-23 16:41 cis.ohio-state.edu!math.ohio-state.edu!caen!usenet.cis.ufl.edu!eng.ufl.ed
1993-09-22  0:24 George C. Harrison, N orfolk State University
1993-09-21  0:47 Gregory Aharonian
1993-09-20 15:14 David Tannen
1993-09-19 22:59 agate!howland.reston.ans.net!europa.eng.gtefsd.com!darwin.sura.net!seas.g
replies disabled

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