FOR Loop

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

How can I make a Loop for to go from the bigger number to the lower
number?

I have:
For i As Integer = 1 To 100
...

And I need:
For i As Integer = 100 To 1
...

Thanks,
Miguel
 
shapper said:
How can I make a Loop for to go from the bigger number to the lower
number?

Place the caret over 'For' and press the F1 key. The answer to your
question is 'For i = ... To ... Step - 1'.
 
Back
Top