You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FOR <replaceable>name</replaceable> IN <optional> REVERSE </optional> <replaceable>expression</replaceable> .. <replaceable>expression</replaceable> LOOP
1978
+
FOR <replaceable>name</replaceable> IN <optional> REVERSE </optional> <replaceable>expression</replaceable> .. <replaceable>expression</replaceable> <optional> BY <replaceable>expression</replaceable> </optional> LOOP
1979
1979
<replaceable>statements</replaceable>
1980
1980
END LOOP <optional> <replaceable>label</replaceable> </optional>;
1981
1981
</synopsis>
@@ -1988,8 +1988,10 @@ END LOOP <optional> <replaceable>label</replaceable> </optional>;
1988
1988
definition of the variable name is ignored within the loop).
1989
1989
The two expressions giving
1990
1990
the lower and upper bound of the range are evaluated once when entering
1991
-
the loop. The iteration step is normally 1, but is -1 when <literal>REVERSE</> is
1992
-
specified.
1991
+
the loop. If the <literal>BY</> clause isn't specified the iteration
1992
+
step is 1 otherwise it's the value specified in the <literal>BY</>
1993
+
clause. If <literal>REVERSE</> is specified then the step value is
0 commit comments