set_variant


Description:

public void set_variant (string name, Variant? value)

Sets the value of the symbol named name to the variant value.

If value has a floating reference, it is consumed.

Parameters:

this

A Scope

name

a name for the symbol

value

the variant to set it to, or null