Change By

Data Block

Description

The Change By block adds to a variable, provided on the left, a numeric expression parameter. The numeric expression can be a constant or any oval shaped numeric expression.

Escapes

The Change By block does not produce any escapes.

Examples

This button click event increments a counter:

..and this block decrements:

This block list is along the lines of Zeno's Paradox where there is ongoing progress towards a destination but the destination is never achieved:

...which produces this result:

Related Topics

Set Number