HB_HSETBINARY()

HB_HSETBINARY()

Sets the ‘binary’ flag for the hash table

Syntax

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

Arguments

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

Description

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

Examples

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

Compliance

Harbour

Seealso

HB_HBINARY(), HB_HSETAUTOADD(), HB_HSETCASEMATCH

Advertisements

2 responses to “HB_HSETBINARY()

  1. Pingback: Harbour Hash Functions | Viva Clipper !

  2. Pingback: Harbour All Functions – H | 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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s