Revision: 14618 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14618&view=rev Author: druzus Date: 2010-05-27 14:27:25 +0000 (Thu, 27 May 2010)
Log Message: ----------- 2010-05-27 16:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/Makefile + harbour/contrib/xhb/xhbhasha.c + added xHarbour Hash with Associative Array compatibility functions: HAAGETKEYAT( <hValue>, <nPos> ) -> <value> HAAGETVALUEAT( <hValue>, <nPos> ) -> <value> HAASETVALUEAT( <hValue>, <nPos>, <value> ) -> NIL HAADELAT( <hValue>, <nPos> ) -> NIL HAAGETPOS( <hValue>, <xKey> ) -> <nPos> HAAGETREALPOS( <hValue>, <nPos> ) -> <nRealPos> HGETVAAPOS( <hValue> ) -> <aOrder> HSETAACOMPATIBILITY( <hValue>, <lAACompat> ) -> <lDone> HGETAACOMPATIBILITY( <hValue> ) -> <lAACompat> These functions were added only for compatibility with existing xHarbour code. Harbour does not emulate associative arrays by special index but it uses real natural order for them. It means that associative array indexes are equal to regular hash indexes so we do not need any translation between them and Harbour users can use regular hash array functions for associative array indexes, i.e. instead of using HAAGETKEYAT() they can use HB_HKEYAT(). Modified Paths: -------------- trunk/harbour/ChangeLog trunk/harbour/contrib/xhb/Makefile Added Paths: ----------- trunk/harbour/contrib/xhb/xhbhasha.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour