[Harbour] $ operator
Szakáts Viktor
harbour.01 at syenar.hu
Mon May 18 06:32:47 EDT 2009
> I was looking at letodb and there was some use of the the $ operator
> to search in arrays. However, this would crash in Harbour.
>
> Is there any good *technical* reason not to implement this in
> Harbour? It's use with arrays certainly feels intuitive.
It's a hidden extension very difficult to track down,
which makes .prg code prone to break when ported to
other xbase compilers (enough to see this example
on LetoDB). It can also break valid Clipper code in
some situations.
It's possible to overload $ operator to achieve the
same effect though in Harbour. It's implemented in
xhb.lib.
Brgds,
Viktor
More information about the Harbour
mailing list