Инструменты пользователя

Инструменты сайта


en:autorun:documentation:eval

Eval

Eval(<expression>)
Eval <expression>

Evaluates the expression given by the string.

Parameters

expressionThe string with the expression to be evaluated.

Return value

The value resulting from evaluating the expression given by the string (in functional notation only).

Example

a = 4
Eval("1+2+3+a") # -- > 10

Notes

The function can also perform other functions given on the line. Use this function only when you need to evaluate an expression given by a string. In other cases, direct notation of the expression is preferable.

en/autorun/documentation/eval.txt · Последнее изменение: 2022/09/26 12:56 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki