For / Next
Numeric loop.
Syntax
For i = start To end ... Next
Description
For i = 1 To 5 → from 1 to 5 (5 inclusive). Step is used to provide the step size.
Example
Loading editor…
This language is for reference/learning only — copy the code and try it in your own environment.
Expected output
1 2 3
When to use?
Known repetition.