/

EvaluateExpressionsUsing

[this page | pdf | back links]

Function Description

Evaluates a set of expressions (InputExpressions) using a specified computer language (Language) and (if applicable) given a specific entry point (EntryPoint) into the expression, substituting specific values (SubstituteValues) for selected variables (SubstituteNames). The type of the variable is specified in SubstituteTypes. If Language is blank then it uses the expression convention described here. The expressions are evaluated ‘all at once’ in much the same way as spreadsheet formulae recalculate, i.e. the order of the expressions is irrelevant and the function will throw an error if there is a circular reference.

 

The number of units debited from a SessionId to carry out this function is driven primarily by the complexity of the expression involved and the number of calls to other Nematrian functions included in the expression.

 


NAVIGATION LINKS
Contents | Prev | Next


Output type / Parameter details

Output type: String
Parameter NameVariable TypeDescription
InputVariableNamesString()Names of variables associated with each expression
InputExpressionsString()Expressions associated with each variable
ReturnedVariableNamesString()Variables to be returned by overall evaluation
LanguageStringLanguage used when interpreting expression
EntryPointStringEntry point (if expression involves a program)
NumberOfSubstitutesIntegerNumber of variables being substituted
SubstituteNamesString()Names of variable being substituted in evaluation (any in excess of number of variables are ignored)
SubstituteTypesString()Types of each variable being substituted (e.g. double, string, integer, date)
SubstituteValuesString()Values taken by substituted variables

Links to:

-          Interactively run function

-          Interactive instructions

-          Example calculation

-          Output type / Parameter details

-          Illustrative spreadsheet

-          Other Expression evaluation functions

-          Computation units used


Note: If you use any Nematrian web service either programmatically or interactively then you will be deemed to have agreed to the Nematrian website License Agreement


Desktop view | Switch to Mobile