Do
evaluates
expr
max
times.
evaluates
expr
max
times, substitutingi
inexpr
with values from1
tomax
.
starts with
i = max
.
uses a step size of
step
.
uses values
i1, i2, ... for i
.
evaluates expr for each j from jmin to jmax, for each i from imin to imax, etc.
Examples
You can use Break()
and Continue()
inside Do
:
The A005132 Recaman’s sequence integer sequence
Related terms
Implementation status
- ✅ - full supported