Simple 'For' loop question!

Blitz3D Forums/Blitz3D Beginners Area/Simple 'For' loop question!

Normally I would say to just use the statement seperator ':' becuase those are seperate expressions, but apparently the compiler has a problem if there's a conditional between the For and Next, so something like this:
For a = 1 To 10 : If s > 0 Then a=a+1 : Next

...does not work, whereas something like this:
For a = 1 To 10 : a=a+1 : Next

...does.

But you CAN do this:
For a = 1 To 10 : If s > 0 Then a=a+1 : s=s+1 : b=b+1
Next

...if you really want to.