Initializing help system before first use

hmset

Purpose
Set the value associated with a key in a hashmap.
Synopsis
size_t hmset(XPRMcontext ctx,XPRMhashmap hm, size_t key, size_t val, int how);
Arguments
ctx 
Mosel's execution context
hm 
A hashmap
key 
Key to be found
val 
Value for the key
how 
Handling method:
XPRM_HM_SET 
Create a new entry or update the value
XPRM_HM_CLS 
Do not set the value: drop the entry if it already exists
XPRM_HM_ONCE 
Do not modify an existing entry
XPRM_HM_UPD 
Only update an existing entry
Return value
The value associated with the key.
Related topics

© 2001-2025 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.