Sets a variable in the object associated with this object |
Declaration: |
native function setVariable( string name, void value ) |
Description: |
This function can be used to set the value of a variable in an object. If no variable of the specified name exists or if it is of a different type to the specified value, an exception is thrown. |
Parameters: |
Parameter #1: string name - The name of the variable to set the value of |
Parameter #2: void value - The value to set the variable to |
Returns: |
A copy of the variable which was just assigned |