Can some shed some light on the following behaviour of manipulate:
This works like expected:
Manipulate[
x = x0;
x
, {x0, 0, 1}]
However, if there is an assignment like x= x+1, where the same variable is on both side of the "=", this seems to be interpreted as a recursion and Manipulate does not stop evaluating:
Manipulate[
x = x0;
x = x + 1;
x
, {x0, 0, 1}]