2009-10-11 13:55 UTC-0500 Vicente Guerra <vice...@guerra.com.mx> * 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 xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers