[fpc-pascal] A better way?

Ryan Joseph ryan at thealchemistguild.com
Fri Apr 15 05:01:18 CEST 2016


> On Apr 15, 2016, at 1:23 AM, Ewald <ewald at yellowcouch.org> wrote:
> 
> Mutually exclusive classes are mutually exclusive to classes which have
> dependencies on one another ;-)
> 
> Or am I missing something?

In the example I gave TClassB may be used by many other units but TClassA is only used with one other unit. TClassB is communicating with TClassA via interfaces but it’s still useful standalone and distinct in nature.

This happens to me all the time actually where I need to expose some type information or an interface to both classes because I don’t want them merged.

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list