standard.lang.serialize.SetMember

SetMember is available since version 1.0.

Prototype:

boolean SetMember(object obj, string member_name, anything new_value)

Parameters

obj
a class object
member_name
the name of the member
new_value
the new value for the member

Description:

Sets the value of a property or a data member of an object by its name.

Return value:

Returns true if succeeded, or false if failed.