Gentee Programming Language > Documentation > Libraries Download documentation

hash.create

Create an item with this key. If an item with this key already exists, it will be initiated again. Items are created automatically when they are addressed as array items for the first time - hashname["key string"].
 
uint hash.create(
      str   key
)

Parameters

keyKey value.

Return value

The pointer to the created item is returned.

See also

    Associative arrays - hash tables


 Copyright © 2004-2006 Gentee Inc. All rights reserved.