The problem is that Xbase++ has a public symbol named GET(), while plain
Clipper doesn't. If XPP compatibility is turned on, we
should provide GET(), if it isn't, we shouldn't.
I intentionally didn't replace Get():New() with GetNew(), to not
add an unnecessary layer of function call here. [ if there is no
other choice we can do this. ]

Can't we somehow override the value returned by :classname?

Brgds,
Viktor

On Wed, Feb 4, 2009 at 3:38 PM, Przemyslaw Czerpak <[email protected]>wrote:

> On Wed, 04 Feb 2009, [email protected] wrote:
>
> Hi Viktor,
>
> >     + CA-Cl*pper compatible GET class renamed to HBGet and
> >       is now always available regardless of feature settings.
>
> Now we have different problem:
>   ? getNew():className
> which will break code which checks class name, f.e.:
>   if o:classname == "GET"
>      o:<...>(...)
>   elseif ...
>      ...
>   endif
>
> IMHO the previous version was better and we should only replace in
> core code Get():New() with GetNew() and we can keep xbase++ methods
> inside.
>
> best regards,
> Przemek
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to