[sr-dev] git:master: htable: documented the new rpc commands

Elena-Ramona Modroiu ramona at asipto.com
Tue Jun 4 18:41:03 CEST 2013


On 6/4/13 6:33 PM, Juha Heinanen wrote:
> Elena-Ramona Modroiu writes:
>
>>>> - htable.sets and htable.seti
>>> thanks for the commands.  it was not clear to me based on the
>>> description if the key already needs to exist in htable.
>> If exists, it is updated, otherwise it is added. Same as assignment to
>> $sht(...).
> is there a "null" value that when set deletes the key from htable?
>
There are two other commands to work with values in a hatable - 
htable.get and htable.delete - they were added by other developers, from 
what I could see in the code, htable.delete removes an item from hash table.

Ramona



More information about the sr-dev mailing list