{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}

Option Loop

Specifies the maximum number of loop cycles for all loops in a formula. The default value is 100000. An error will occur, if the maximum number of loop cycles was exceeded.

Usage:

Option Loop <limit>

Examples:

Option Loop 1000;
Local NumberVar i;
StringVar string := "";
For i := 1 To 10000 Step 1 Do (
    string := string + "a"
);

See also: