{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

For/Next loop

The For/Next loop provides a compact way to execute one or more statements a specified number of times. This block of statements will be executed until "i" is equals to the defined "endvalue".

A For/Next loop can be left with the Exit For statement.

Usage:

For i = //(startvalue)// To //(endvalue)// Step //(stepsize)//
    //(statement)//
next i

Examples:

Dim i
For i = 1 To 10 Step 1
    formula = formula + "a"
Next i
i-net Clear Reports
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - For/Next loop (Basic)