comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Problem with generic linked list package
Date: Tue, 29 Jul 2014 03:27:59 -0500
Date: 2014-07-29T03:27:59-05:00	[thread overview]
Message-ID: <85a97spo1c.fsf@stephe-leake.org> (raw)
In-Reply-To: f78b375e-76fb-4742-95c5-3017baa8dc38@googlegroups.com

Laurent <daemon2@internet.lu> writes:

> procedure Display_String (Item : in Name_Type) is
>    begin -- Display_String
>       Ada.Text_IO.Put (Item => Item);
>       Ada.Text_IO.New_Line;
>    end Display_String;

Linked_Lists_Generic.Display must call Display_Element, not Ada.Text_IO.Put.

> (1)Now I just don't know how to get it to work. Comments are welcome.

You need to add Display to the Linked_Lists_Generic spec, and call it.

-- 
-- Stephe

  parent reply	other threads:[~2014-07-29  8:27 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28 13:26 Problem with generic linked list package Laurent
2014-07-29  7:51 ` Jacob Sparre Andersen
2014-07-29  8:12   ` Laurent
2014-07-29  8:27 ` Stephen Leake [this message]
2014-07-29 15:38   ` Laurent
2014-08-07 19:07     ` Laurent
2014-08-07 19:21       ` Adam Beneschan
2014-08-07 19:25         ` Adam Beneschan
2014-08-07 22:20           ` Laurent
2014-08-07 23:35             ` Adam Beneschan
2014-08-08  4:42               ` Laurent
2014-08-09 14:32                 ` Laurent
2014-08-09 14:58                   ` AdaMagica
2014-08-09 15:22                   ` Jeffrey Carter
2014-08-09 18:51                   ` Shark8
2014-08-09 21:53                     ` Laurent
2014-08-09 22:25                       ` Jeffrey Carter
2014-08-10  8:22                       ` Simon Wright
2014-08-10 10:45                         ` Simon Wright
2014-08-10 20:20                           ` Laurent
2014-08-10 21:57                             ` Simon Wright
2014-08-10 23:42                               ` Jeffrey Carter
2014-08-11  4:51                                 ` Laurent
2014-08-11  5:13                                   ` Jeffrey Carter
2014-08-11  7:56                                     ` Laurent
2014-08-07 20:37       ` Shark8
2014-08-07 22:30         ` Laurent
2014-08-07 23:22           ` Shark8
replies disabled

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