Valutazione attuale: 0 / 5

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva
 

hb_HCaseMatch()

 

Sets the 'case match' flag for the hash table

 

Syntax

 

hb_HCaseMatch( <hsTable>, [<lFlag>] ) -> <lPreviousFlag>

 

Argument(s)

 

<hsTable> a hash table, created by hb_Hash()

 

<lFlag> a logical value indicating to turn on or off the 'case match' flag of the hash table

 

Returns

 

The previous value of the 'case match' flag

 

Description

 

This function returns the old flag value

 

Example(s)

 

LOCAL hsTable, lFlag
hsTable := { "one" => 1, "two" => 2 }
// turn 'case match' on for a new hash table, storing ol flag
lFlag := hb_HCaseMatch( hsTable, .T. )

 

Status

 

Ready

 

Compliance

This is Harbour specific