FORMULA LANGUAGE


@Eval
Example

At run-time, compiles and runs each element in a text expression as a formula. Returns the result of the last formula expression in the list or an error if an error is generated by any of the formula expressions in the list.

Note This @function is new with Release 6.

Syntax

@Eval(textExpressions)

Parameters

textExpressions


Return value

lastExpression


Usage

This function is useful in agents, hotspot buttons, and toolbar buttons and when you want to evaluate multiple text expressions at run-time from within a single @function.

Use of @Eval in view columns and selection formulas may produce unexpected results. Because this function is evaluated at run-time, the view engine is unable to follow its standard procedure of analyzing the formulas ahead of time to discover what types of @functions it will encounter and prepare for them.

Language cross-reference

Example