-
Why doesn’t this simple expression work?
I am trying to increment a position by using the following:
x=value[0]
if (some situation){
a=1
}
{else
a=-1}
x=x+a
[x,100,200]this only makes my x value change to, lets say, 99 or 101. Why doesnt it make it continually change lower and lower, or higher and higher? I only get 2 possible x positions.
strange.