Sets the value of the variable. Constant values cannot be changed.

This method calls java.util.Observable.notifyObservers() to indicate to anyone interested that the value has been changed. Note subclasses should override setValueRaw rather than this method so they do not need to handle the Observable methods.

This method sets the validValue flag to true.

Namespace:  SingularSys.Jep
Assembly:  Jep (in Jep.dll) Version: 1.1.0.0 (1.0.0)

Syntax

C#
public bool SetValue(
	Object obj
)
Visual Basic (Declaration)
Public Function SetValue ( _
	obj As Object _
) As Boolean
Visual C++
public:
bool SetValue(
	Object^ obj
)

Parameters

obj
Type: System..::.Object

Return Value

false if tried to change a constant value.

See Also