syntax:functions:eval
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
syntax:functions:eval [2020/07/09 17:16] – dmitry | syntax:functions:eval [2023/05/16 15:02] (current) – [Remarks] dmitry | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Eval(text) ===== | + | ====== Eval(text_expression) ====== |
+ | Category: | ||
- | Evaluates | + | \\ |
- | an expression with a reference to column. | + | =====Description===== |
+ | This function evaluates | ||
- | Examples: | + | \\ |
+ | =====Use cases===== | ||
+ | This function makes it possible to define EasyMorph expressions externally using parameters. | ||
- | | + | \\ |
+ | =====Arguments===== | ||
+ | ^Argument^Type^Description^ | ||
+ | |text_expression|Text|An expression in text format to be evaluated.| | ||
+ | |||
+ | **Return value type:** Any (The type of the expression output) | ||
+ | |||
+ | \\ | ||
+ | =====Remarks===== | ||
+ | The argument itself must not be an expression with a reference to a column. | ||
+ | |||
+ | In an expression, the eval() function is evaluated first (pre-evaluated) and only then the whole expression is evaluated for every row. Pre-evaluation can be recursive until the final expression doesn' | ||
+ | |||
+ | \\ | ||
+ | =====Examples===== | ||
+ | | ||
| | ||
- | eval(' | + | eval(' |
| | ||
- | eval(' | + | eval(' |
| | ||
- | eval(' | + | eval(' |
| | ||
- | eval([Count] & ' | + | eval([Count] & ' |
| | ||
- | eval({Param1}) | + | eval({Param1}) |
| | ||
- | eval(" | + | eval(" |
- | + | ||
- | The eval() function makes it possible to define EasyMorph expressions externally using parameters. | + |
syntax/functions/eval.txt · Last modified: 2023/05/16 15:02 by dmitry