Add a constant: a variable who's value cannot be changed.
Namespace:
SingularSys.JepAssembly: Jep (in Jep.dll) Version: 1.1.0.0 (1.0.0)
Syntax
C# |
---|
public Variable AddConstant( string name, Object value ) |
Visual Basic (Declaration) |
---|
Public Function AddConstant ( _ name As String, _ value As Object _ ) As Variable |
Visual C++ |
---|
public: Variable^ AddConstant( String^ name, Object^ value ) |
Parameters
- name
- Type: System..::.String
the constant's name
- value
- Type: System..::.Object
the constant's value
Return Value
the corresponding VariableExceptions
Exception | Condition |
---|---|
SingularSys.Jep..::.JepException |