hb_HCaseMatch()

HB_HCASEMATCH()

Sets the ‘case match’ flag for the hash table

Syntax

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

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 previous value of the ‘case match’ flag

Description

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

Examples

      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. )

Compliance

Harbour

Seealso

HB_HSETCASEMATCH()

3 responses to “hb_HCaseMatch()

  1. Pingback: Harbour All Functions – H | Viva Clipper !

  2. Pingback: Harbour Hashe Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.