comp.lang.ada
 help / color / mirror / Atom feed
From: Preben Randhol <randhol+abuse@pvv.org>
Subject: Re: premature use
Date: Mon, 6 May 2002 09:20:21 +0000 (UTC)
Date: 2002-05-06T09:20:21+00:00	[thread overview]
Message-ID: <slrnadcimu.b7d.randhol+abuse@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: 3CD577E0.8040409@worldnet.att.net

On Sun, 05 May 2002 18:20:11 GMT, Jim Rogers wrote:
> Try putting File_List and Index_List in a child package
> 
> package Help_Lists.File_Lists is
>     package File_List is
>        new Double_Linked_List(Data_Type => Help_File_Type);
>     pacakge Index_List is new
>        Double_Linked_List(Data_Type => Help_Index_Type);
> end Help_Lists.File_Lists;

Won't I get a problem due to:

 
    type Help_Index_Type is
       record
          Section : Unbounded_String;
          List    : File_List.List_Type;
                    ^^^^^^^^^
       -- Would it not become circular dependancies here?


But I'll test it out after work.

Preben
-- 
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
                 �For me, Ada95 puts back the joy in programming.�



  reply	other threads:[~2002-05-06  9:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-05 15:03 premature use Preben Randhol
2002-05-05 18:20 ` Jim Rogers
2002-05-06  9:20   ` Preben Randhol [this message]
2002-05-06 14:06 ` Stephen Leake
replies disabled

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