Re: [Harbour] Working with HASH()

2009-04-14 Thread Viktor Szakáts
Thank you. Also quite messy functionality :(. Dunno if we support such in any way in Harbour, and I'm not convinced we should, as it looks like a very dirty hack which allows to reach behind the hash concept. Looks strange to me to use slot ordinals to reach hash members, as the point of hashes is

Re: [Harbour] Working with HASH()

2009-04-14 Thread Rossine
Hello Viktor, > Very strange name for a function. Can you describe what it does? > Text taken from the manual xharbour: > HSetAACompatibility() > Enables or disables associative array compatibility for an empty hash. > Syntax > HSetAACompatibility( , ) --> lSuccess > > Arguments > >

[Harbour] Working with HASH()

2009-04-14 Thread Rossine
Hello, Is possible include "HSETAACOMPATIBILITY()" in harbour ? In xharbour this example works: [Code] functio Main() LOCAL hHash := Hash() HSetAACompatibility( hHash, .T. ) HSetCaseMatch( hHash, .F. ) hHash[ "One" ] := { 1, 1 } hHash[ "Two" ] := 2 hHash[ "Three" ] :

Re: [Harbour] Working with HASH()

2009-04-14 Thread Viktor Szakáts
Hi Rossine, Very strange name for a function. Can you describe what it does? Brgds, Viktor On Tue, Apr 14, 2009 at 9:06 AM, Rossine wrote: > > Hello, > > Is possible include "HSETAACOMPATIBILITY()" in harbour ? > > In xharbour this example works: > > [Code] > functio Main() > > LOCAL hHash :=