On Wed, 03 Jun 2009, Szak�ts Viktor wrote: > Can we add this to xhb lib?
It's already there: REQUEST XHB_LIB PROC MAIN() LOCAL hValue hValue := {=>} hValue:VAR1 := 123.45 hValue:VAR2 := DATE() ? hValue:VAR1, hValue:VAR2 RETURN > The other thing: I don't remember and also cannot find why > we decided not to enable this feature back then. Do you > remember? Probably due to interaction with some default methods which exist for all objects like: CLASSH or CLASSNAME and also KEYS or VALUES which are supported by default for HASH arrays. Enabling OOP interface to access hash items effectively block using OOP for some operations on hashes, f.e. hValue:eval( { |k,v,n| qout( k,v,n ) } ) hValue:del( k ) etc. AFAIR we planed to discussed if we want to introduce such interface as alternative to HB_H*() functions. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour