> > Good question. There is no easy way to detect inheritance order. We do > not keep such information in general RDD structures so it will have to > be implemented in given GT. > In this case probably the easiest way is using new DBI_ or RDDI_ action. > To not cause additional overhead you can add action which will not operate > on given item value so you can pass NULL as parameter, f.e.: > add to dbinfo.ch: > > #define RDDI_ADSBASED 45 /* check if given RDD inherits from ADS* ones > */
Or even: dbInfo( RDDI_BASEDON, "ADS" ) -> .T./.F. This way we won't introduce 3rd party specific names and macros in core dbinfo.ch. Anyhow such constant as RDDI_ADSBASED should better be defined in ads.ch anyway. Brgds, Viktor
_______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
