Navigation:  ThinBASIC Modules > Core (thinBasic Core Engine) > DataStructures > Hash Table >

Hash_Clear

Previous pageReturn to chapter overviewNext page

 

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