ucEvaluate

ucEvaluateStr

 

See Also: ucParse

 

Rapidly evaluates an expression that was parsed with ucParse.

 

ucEvaluate(ExpressionHandle)

-or-

ucEvaluateStr(ExpressionHandle)

 

Parameter

ExpressionHandle

Required.  ExpressionHandle is a value returned by ucParse, and represents the handle of the expression you want to evaluate.

 

Remarks

 

ucEvaluate or ucEvaluateStr is designed to be used in pair with ucParse, for faster results in time-critical loops than can be achieved using ucEval or ucEvalStr.

 

ucEvaluate returns the numeric result of an expression of numeric type.

 

ucEvaluateStr returns a value as a string for an expression of any data type (including any kind of string, numeric, or other type).  Non-string values are converted to a string before being returned.

 

Examples

See ucParse.