Adds or sets a complex variable with a given name and value. If a variable with the
            same name already exists, the value of that variable is updated.
            
        
    Namespace: 
   SingularSys.JepAssembly: Jep (in Jep.dll) Version: 1.1.0.0 (1.0.0)
Syntax
| C# | 
|---|
public Variable AddVariable( string name, double re, double im )  | 
| Visual Basic (Declaration) | 
|---|
Public Function AddVariable ( _ name As String, _ re As Double, _ im As Double _ ) As Variable  | 
| Visual C++ | 
|---|
public: Variable^ AddVariable( String^ name, double re, double im )  | 
Parameters
- name
 - Type: System..::.String
the name of the variable to be added 
- re
 - Type: System..::.Double
the real component of the variable to be added 
- im
 - Type: System..::.Double
the imaginary component of the variable to be added 
Return Value
the Variable instance
Exceptions
| Exception | Condition | 
|---|---|
| SingularSys.Jep..::.JepException | if an attempt is made to set the value of a constant variable |