Initializing help system before first use

# hmfind

Purpose
Get a reference to the value associated with a key in a hashmap.
Synopsis
`size_t *hmfind(XPRMcontext ctx,XPRMhashmap hm, size_t key, int how);`
Arguments

ctx | Mosel's execution context
hm | A hashmap
key | Key to be found
how | Handling method:
XPRM_HM_SET | Create the entry if it does not exist yet
XPRM_HM_UPD | Return NULL if the key could not be found

Return value
A reference to the value associated with the key or NULL if the key could not be found.
Related topics
hmget, hmset, hmnew, hmdel, hmdump.
Parent Topic Miscellaneous

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.