From: Niklas Holsti <niklas.holsti@nospam.please>
Subject: Re: Ada.Containers.Doubly_Linked_Lists
Date: Wed, 07 Feb 2007 09:16:38 +0200
Date: 2007-02-07T09:16:38+02:00 [thread overview]
Message-ID: <45c97b44$0$22514$39db0f71@news.song.fi> (raw)
In-Reply-To: <mailman.75.1170828524.18371.comp.lang.ada@ada-france.org>
Carroll, Andrew wrote:
> Okay, got the packages "instantiated" and all that and
> successfully appended an "element" to my list.
Good!
> How do I print the length to the console?
Assuming your list package is named Thing_Lists and your list object is
named Things, of type Thing_Lists.List:
Ada.Text_IO.Put_Line (
"The length is"
& Ada.Containers.Count_Type'Image (Thing_Lists.Length (Things)));
> Where is count_type defined?
In the package Ada.Containers.
--
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
. @ .
next parent reply other threads:[~2007-02-07 7:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.75.1170828524.18371.comp.lang.ada@ada-france.org>
2007-02-07 7:16 ` Niklas Holsti [this message]
2007-02-08 13:37 ` Ada.Containers.Doubly_Linked_Lists Stephen Leake
2007-02-07 14:52 Ada.Containers.Doubly_Linked_Lists Carroll, Andrew
2007-02-07 15:06 ` Ada.Containers.Doubly_Linked_Lists Ludovic Brenta
2007-02-07 18:22 ` Ada.Containers.Doubly_Linked_Lists Jeffrey R. Carter
2007-02-08 13:39 ` Ada.Containers.Doubly_Linked_Lists Stephen Leake
2007-02-07 18:19 ` Ada.Containers.Doubly_Linked_Lists Jeffrey R. Carter
2007-02-08 10:44 ` Ada.Containers.Doubly_Linked_Lists Alex R. Mosteo
-- strict thread matches above, loose matches on Subject: below --
2007-02-06 14:40 Ada.Containers.Doubly_Linked_Lists Carroll, Andrew
[not found] <mailman.69.1170624131.18371.comp.lang.ada@ada-france.org>
2007-02-04 21:35 ` Ada.Containers.Doubly_Linked_Lists Niklas Holsti
2007-02-04 22:08 ` Ada.Containers.Doubly_Linked_Lists Ludovic Brenta
2007-02-05 15:43 ` Ada.Containers.Doubly_Linked_Lists Matthew Heaney
2007-02-05 4:03 ` Ada.Containers.Doubly_Linked_Lists Jeffrey R. Carter
[not found] <mailman.67.1170570920.18371.comp.lang.ada@ada-france.org>
2007-02-04 8:10 ` Ada.Containers.Doubly_Linked_Lists Niklas Holsti
2007-02-04 21:05 ` Ada.Containers.Doubly_Linked_Lists Jeffrey R. Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox