Vic,

Many thanks. BTW, why Operator "$$" instead of Operator "$"?

Ron

--------------------------------------------------
From: "Vicente Guerra" <[email protected]>
Sent: Sunday, October 11, 2009 12:15 PM
To: "xHarbour-Developers List" <[email protected]>
Subject: [xHarbour-developers] ChangeLog: 2009-10-11 13:55 UTC-0500 
VicenteGuerra

> 2009-10-11 13:55 UTC-0500 Vicente Guerra <[email protected]>
>   * include/classes.h
>   * source/vm/classes.c
>   * source/vm/hvm.c
>     + "$$"/"contains" operator overload added.
>       value $ object -> object:__opcontains( value )
>
> This overloads "$" operator when object is the place where any value
> is searched.
>
> #include "hbclass.ch"
> procedure main
>    o := obj()
>    ? "yes" $ o
> return
> class obj
>    method scan operator "$$"
> endclass
> method scan( data ) class obj
> return data $ { "one", "yes", "two" }
>
> Atte.
>  Vic
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> xHarbour-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
> 

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to