monkey:monkey.types.DeclInfo.Set

Method Set:Void( instance:Variant,value:Variant )

Sets field, property or global value.

If the declaration kind is 'Global', the instance parameter is ignored.

A runtime error will occur if the declaration kind is not 'Field' or 'Global'.