hobj:setfield
val = hobj:setfield (name, val)
Parameters:
name : sequence of dot-delimitered fields;
val : value to set the field with
Returns:
val
Description:
- hobj:setfield("key1.key2 ... keyN", val) does the equivalent of
hobj["key1"]["key2"]...["keyN"] = val.
- If at any stage of retrieving some intermediate nested field
"keyM", its value is nil, then both that and all subsequent
fields are created by assigning each of them a new table.