comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adambeneschan@aol.com>
Subject: Re: NULL_AVL_Tree
Date: Tue, 29 Oct 2013 07:40:33 -0700 (PDT)
Date: 2013-10-29T07:40:33-07:00	[thread overview]
Message-ID: <09b98ecd-79c9-40dd-b68f-f62756ba7290@googlegroups.com> (raw)
In-Reply-To: <588ec06d-e3ba-40f2-903f-e6060f7ec10f@googlegroups.com>

On Tuesday, October 29, 2013 7:21:59 AM UTC-7, Seshu Kumar wrote:
> Hello,
> 
> here, my code is 
> type AVL_Tree is private;
> Null_Avl_Tree : constant Avl_Tree;
> 
> in priviate i define:
>    type AVL_Tree is record
>       Rep : AVL_Node_Ref;
>       Size : Natural := 0;
>    end record;
> 
>    Null_Avl_Tree : constant Avl_Tree := ( Rep => null, Size => 0 );
> 
> here,  m accessing NULL_AVL_Tree from other file, is it gives me the same values
> 
> using like
> 
> VCAST_BITS_1_1_AVL : VCAST_BITS_TYPE_1_1_AVL :=
>    ( others =>  VCAST_COVER_IO.Null_Avl_Tree );
> 
> here, i think my Null_Avl_tree is not null.
> 
> Thanks in advance.

There's not enough information here.  If the problem is that you think Null_Avl_Tree has a value that's different from what you expect, please post some code that produces some result that's different from what you expect, and tell us what the output is and what you expected the output to be.

                               -- Adam

      reply	other threads:[~2013-10-29 14:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-29 14:21 NULL_AVL_Tree Seshu Kumar
2013-10-29 14:40 ` Adam Beneschan [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