hb_HGetDef()

HB_HGETDEF()

Returns a hash value, or a default value if the key is not present

Syntax

      HB_HGETDEF( <hsTable>, <Key>, [<DefaultValue>] ) -> <Value>

Arguments

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

<Key> key to be retrieve from the hash table; can be of type: number, date, datetime, string, pointer

<DefaultValue> a default value to be returned if the hash table does not contain the key

Returns

Either the value within the hash table for the given key, or the default value.

Compliance

Harbour

Advertisements

3 responses to “hb_HGetDef()

  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 )

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