Evaluating Mathematical Expressions (eval)
Handel provides expressions for evaluating mathematical expressions.
To evaluate an expression use the eval
keyword followed by a mathematical expression (note: division is integer division).
Eval expressions can be used anywhere digit types are expected in Handel.
Here is an example of the syntax: