EVALUATE

Evaluates your own variable to with given math expression - if variable doesn’t exist, it is created. Value is always stored as integer.

Syntax

EVALUATE varName expression 

varName - Your variable name with exact name match
expression - Math expression to evaluate

Examples

EVALUATE myVar myVar+2
EVALUATE myVar 2+(5*4)
EVALUATE myVar Math.max(2000,50)

Notes

Demos