Adds a function to the parser.
Namespace:
SingularSys.JepAssembly: Jep (in Jep.dll) Version: 1.1.0.0 (1.0.0)
Syntax
C# |
---|
public IPostfixMathCommand AddFunction( string name, IPostfixMathCommand pfmc ) |
Visual Basic (Declaration) |
---|
Public Function AddFunction ( _ name As String, _ pfmc As IPostfixMathCommand _ ) As IPostfixMathCommand |
Visual C++ |
---|
public: IPostfixMathCommand^ AddFunction( String^ name, IPostfixMathCommand^ pfmc ) |
Parameters
- name
- Type: System..::.String
the name of the function
- pfmc
- Type: SingularSys.Jep..::.IPostfixMathCommand
the function class instance to be used to evaluate the function