Re: Mutual object interdependency trouble
From: Rune (year)
Date: 01/26/05
- Next message: Marco van de Voort: "Re: Findfirst findnext"
- Previous message: Maarten Wiltink: "Re: Problem working with an XML DOCUMENT, ClientDataSets and XMLProvider."
- In reply to: Tom de Neef: "Re: Mutual object interdependency trouble"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Jan 2005 11:36:18 +0100
Tom de Neef wrote:
> In Delphi, the dependency between units is in the interface section.
> Unit A can use unit B and B can use data from A, as long as there is
> no circular reference via the interface sections. So, you could have:
>
> unit A;
> interface uses B;
> implementation
> ...
> end.
>
> unit B;
> interface
> ...
> implementation uses A;
> ...
> end;
This is perfect! I had no idea there could be a uses clause in the
implementation section...
Rune
-- 3D images and anims, include files, tutorials and more: rune|vision: http://runevision.com POV-Ray Ring: http://webring.povray.co.uk
- Next message: Marco van de Voort: "Re: Findfirst findnext"
- Previous message: Maarten Wiltink: "Re: Problem working with an XML DOCUMENT, ClientDataSets and XMLProvider."
- In reply to: Tom de Neef: "Re: Mutual object interdependency trouble"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|