Hi Przemek, > You have such functionality from beginning though it's not enabled in > default core builds. You have to compile Harbour with HB_HASH_MSG_ITEMS > macro or use XHB library. The only one difference is that [x]Harbour > uses : not . as send operator so it will look like a:x not a.x > Using . as send operator breaks the syntax: > a.and.b > it can be interpreted as: > a .and. b > or: > a:and:b
Good reminder, I knew it was colliding, just forgot with what syntax. > what for hashes with OOP interface means: > a["AND"]["B"] => a["AND","B"] > anyhow if you prefer . like in VFP then you can use: > #xtranslate .<!msg!> => :<msg> Thanks for the tip. I'm a little bit worried about speed drop here compared to direct index access, so probably I will stay with current index access practice. Nice to have this anyway. What was the reason not enabling this in default builds? Brgds, Viktor _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour