[Harbour] SF.net SVN: harbour-project:[10171] trunk/harbour

Viktor Szakáts harbour.01 at syenar.hu
Wed Feb 4 09:45:37 EST 2009


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 <druzus at acn.waw.pl>wrote:

> On Wed, 04 Feb 2009, vszakats at users.sourceforge.net 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
> Harbour at harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.harbour-project.org/pipermail/harbour/attachments/20090204/0d96812d/attachment.html


More information about the Harbour mailing list