Up |
SDictAdd
Add a pair key, value to a dictionnary object.
If the key already exists, it will be overwritten and the old pair will be freed.
If the value is nil, "" will be stored.
Prototype :
fun [SDict S S] I
- SDict : a string dictionnary Scol object.
- S : a key
- S : a value
Return : I 0 if ok, nil if an error occurs.