StoreAddDefinition(String, Term, Entry) Method
Updates existing or adds a new variable or function to the definitions list.
Namespace: SMath.MathAssembly: SMath.Controls (in SMath.Controls.dll) Version: 1.2.9018.0
public int AddDefinition(
string name,
Term[] variables,
Entry answer
)
Public Function AddDefinition (
name As String,
variables As Term(),
answer As Entry
) As Integer
public:
int AddDefinition(
String^ name,
array<Term^>^ variables,
Entry^ answer
)
member AddDefinition :
name : string *
variables : Term[] *
answer : Entry -> int
- name String
-
Name of the definition.
- variables Term
-
If function, then a list of variables should be defined.
- answer Entry
-
Answer, i.e. value of definition.
Int32
Returns index of the definition inside list of definition.