Hello Petr,
Petr Chornyj wrote: > > > Something like > > [CODE] > FUNCTION main() > local n, cVar := "Two", hHash := hb_Hash(), aArray > > hHash := { 1, "One" } > hHash := { 2, "Two" } > hHash := { 3, "Tree" } > > ?hb_isHash( hHash ) > > hHash := { 1 => "One", 2 => "Two" } > hb_hSet( hHash, 3, "Tree" ) > > ?hb_isHash( hHash ) > > //hb_HCaseMatch( hHash, .F. ) > > n := hb_hScan( hHash, { |key,value| value == cVar } ) > ? n > > aArray := hb_hValues( hHash ) > n := aScan( aArray, { |value| value == cVar } ) > > ? n > > return NIL > [END CODE] > > OK, I understand your example. Thank you very much, Rossine. -- View this message in context: http://www.nabble.com/Ascan-for-Hash-tp23355934p23357456.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour