set value of an attribute or a position in the attribute (if matrix)
function set input Integer entity "entity with list of attributes"; input Integer attrnum "attribute number in the list"; input Real value "value of the attribute, or given position (row,col)"; input Integer rows = 1 "number of rows of the attribute (if matrix)"; input Integer cols = 1 "number of columns of the attribute (if matrix)"; input Integer row = 1 "row if attribute is a matrix"; input Integer col = 1 "column if attribute is a matrix"; end set;