Valutazione attuale: 0 / 5

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva
 

hb_HBinary()

 

Sets the 'binary' flag for the hash table

 

Syntax

 

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

 

Argument(s)

 

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

 

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

 

Returns

 

The previous value of the 'binary' flag

 

Description

 

This function is equivalent to hb_HBinary() but it returns the old flag value rather than the hash table

 

Example(s)

 

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

 

Status

 

Ready

 

Compliance

This is Harbour specific