HASH_PUT Name
HASH_PUT Purpose
Update a value in a hash table. If not there add as new item.
Category
Calling Sequence
hash_put, key, val Inputs
key = Key into hash table. in
val = value to update (or add). in
Keyword Parameters
Keywords
HASH=h Hash table in a structure.
NEWFLAG=new 1=added as new entry, 0=updated existing val.
Outputs
Common Blocks
Notes
Notes: Updates a value in an existing hash table (made by
hash_init. If no entry for given key then will add key
and value as a new entry in the hash table.
See hash_init,/help for more on the user provided
hash function.
Modification History
R. Sterner, 2004 Mar 30
Copyright (C) 2004, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.