Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

Description

 

Create new Hash Table container and return its handle

 

Syntax

 

pHash = Hash_New(InitialCapacity [, Type])

 

Returns

 

Number: a pointer to a Hash Table

 

Parameters

 

Name

Type

Optional

Meaning

InitialCapacity

Number

No

Number of expected Key/data pairs

If a value < 100 will be specified, a minimum of 100 will be used.

Type

Number

Yes

Hash Table type. Possible types:

1.%Hash_String2String

2....future use

3....future use

 

Default type is String to String %Hash_String2String: Key and Data pairs will be of string type.

 

Remarks

 

For maximum performances it is better to pre-allocate more capacity then the exact expected key/data pairs

 

Restrictions

 

See also

 

Hash_Free

 

Examples

 

 

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software