How do you specify the step indicator in a For/Next Loop in B4A?
in B4PPC I used:
For I = DF-2 to 2 step -2
the documentation for B4A says the syntax should be:
For variable = value1 To value2 [Step interval]
So far I have tried (with no success):
For I=DF-2 To 2 step -2
For I=DF-2 To 2 -2
For I=DF-2 To 2, -2
For I=DF-2 To 2 [-2]
For I=DF-2 To 2 (-2)
For I=DF-2 To 2, [-2]
For I=DF-2 To 2, (-2)
For I=DF-2 To 2, step -2
For I=DF-2 To 2 (step -2)
For I=DF-2 To 2, (step -2)
For I=DF-2 To 2, step(-2)
For I=DF-2 To 2 step(-2)
What is the secret?
in B4PPC I used:
For I = DF-2 to 2 step -2
the documentation for B4A says the syntax should be:
For variable = value1 To value2 [Step interval]
So far I have tried (with no success):
For I=DF-2 To 2 step -2
For I=DF-2 To 2 -2
For I=DF-2 To 2, -2
For I=DF-2 To 2 [-2]
For I=DF-2 To 2 (-2)
For I=DF-2 To 2, [-2]
For I=DF-2 To 2, (-2)
For I=DF-2 To 2, step -2
For I=DF-2 To 2 (step -2)
For I=DF-2 To 2, (step -2)
For I=DF-2 To 2, step(-2)
For I=DF-2 To 2 step(-2)
What is the secret?