Hi Flotul

As I stated at #6 there is no strange behaviour. It is just the way for-next loops work in every version of Basic. Inside the loop the result is absolutely correct. Outside is expected to be +1 or -1 depending on the step of counting.

I see nothing strange here.
Other way to make a loop like While-Went or Repeat-Until use different counting methods.

While-wend for example, first checks, then executes. For-Next, first executes then checks.

Ioannis