Add a single ternary expression to the storage. Only 3 ternary expressions should be added for free version.
Namespace: uStrata.MathDaemon.ComputationPassed formula is not checked for correct syntax.
Ternary expression will be composed in the followed way:
ifLeft compareType ifRight THEN thenExpression ELSE elseExpression
Or, in ternary way
ifLeft compareType ifRight ? thenExpression : elseExpression
Assembly: uStrata.MathDaemon.Computation (in uStrata.MathDaemon.Computation.dll) Version: 1.1.5779.28281
Syntax
Parameters
- name
- Type: System String
Name for the expression
- ifLeft
- Type: System String
Left part of condition to compare
- ifRight
- Type: System String
Right part of condition to compare
- compareType
- Type: System String
Compare operator or its textual presentation
- thenExpression
- Type: System String
Expression evaluated in case of "true"
- elseExpression
- Type: System String
Expression evaluated in case of "false"
See Also