Adds a new variable with no value specified. If the variable already exists in the table, that variable instance is returned. Otherwise a new Variable instance is created with the variable factory.

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

Syntax

C#
public Variable AddVariable(
	string name
)
Visual Basic (Declaration)
Public Function AddVariable ( _
	name As String _
) As Variable
Visual C++
public:
Variable^ AddVariable(
	String^ name
)

Parameters

name
Type: System..::.String
the variable's name

Return Value

the variable

See Also