Sage Modeling and Simulation Library

EvaluatorFactory..::..CreateEvaluator Method (String, String, array<String>[]()[][])

Creates an Evaluator with the specified body, return expression, and argument names.

Namespace:  Highpoint.Sage.SimCore
Assembly:  Sage4 (in Sage4.dll)

Syntax


public static Evaluator CreateEvaluator(
	string body,
	string retExpr,
	string[] argNames
)

Parameters

body
Type: String
The statement body of the evaluator.
retExpr
Type: String
The return expression of the evaluator.
argNames
Type: array<String>[]()[][]
The names of the arguments fed into the evaluator.

Return Value