Hash_Clear

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > Data Structures > Hash Table >

Hash_Clear

 

Description

 

Clear (remove) all key/data pairs present into the Hash Table container.

 

Syntax

 

pHash = Hash_Clear(pHash)

 

Returns

 

Number: the same pHash passes as parameter

 

Parameters

 

Name

Type

Optional

Meaning

pHash

Number

No

Handle of a Hash Table returned by Hash_New

 

Remarks

 

After this function execution, Hash Table container handle (pHash) remain a valid empty hash table with all the actual characteristics.

 

Restrictions

 

See also

 

Examples