comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Help : Circular dependency
Date: Mon, 25 Nov 2002 19:23:37 GMT
Date: 2002-11-25T19:23:37+00:00	[thread overview]
Message-ID: <wcc1y59sbba.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: d40d7104.0211251039.3746c561@posting.google.com

vashwath@rediffmail.com (prashna) writes:

> Can anybody explain, with example, What is circular dependecy?

Usually, circular dependency means something like this:

    with B;
    package A is
        ...
    end A;

    with A;
    package B is
        ...
    end B;

which is illegal in Ada.  It would be legal, however, if the "with A;"
were moved to the body of B, or the "with B;" were moved to the body of A.

- Bob



  reply	other threads:[~2002-11-25 19:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-25 18:39 Help : Circular dependency prashna
2002-11-25 19:23 ` Robert A Duff [this message]
2002-11-25 19:30 ` Jeffrey 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