addkey
Syntax: %addkey(rec,key,value)
Add a key-value pair to a record variable and return the modified record.