/hadd -a (Append value to the existing value) - 07/12/17 01:27 AM
It would be interesting to add the "-a" switch so that the value given in the "/hadd" command is added to the end of the already existing value in an item in the hash table.
Currently to do this:
How would it be:
Currently to do this:
Code:
hadd hash item $hget(hash,item) $+ newvalue ; or binary variable noop $hget(hash,item,&bvar) bcopy &bvar -1 &newbvar 1 -1 hadd -b hash item &bvar
How would it be:
Code:
hadd -a hash item newvalue ; or binary variable hadd -ba hash item &newbvar