Viva Clipper !

HB_HSETCASEMATCH()

Advertisements

HB_HSETCASEMATCH()

Sets the ‘case match’ flag for the hash table

Syntax

      HB_HSETCASEMATCH( <hsTable>, [<lFlag>] ) -> <hsTable>

Arguments

<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 hash table

Description

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

Examples

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

Compliance

Harbour

Seealso

HB_HCASEMATCH(), HB_HSETAUTOADD(), HB_HSETBINARY

Advertisements

Advertisements