Compare FOR ranges to Python's range

This commit is contained in:
Rangi
2021-07-31 21:03:51 -04:00
committed by Eldred Habert
parent 26ddf1ff4d
commit b51e1c7c2c

View File

@@ -1734,7 +1734,9 @@ N = 256
.Pp .Pp
You can customize the range of You can customize the range of
.Ic FOR .Ic FOR
values: values, similarly to Python's
.Ql range
function:
.Bl -column "FOR V, start, stop, step" .Bl -column "FOR V, start, stop, step"
.It Sy Code Ta Sy Range .It Sy Code Ta Sy Range
.It Ic FOR Ar V , stop Ta Ar V No increments from 0 to Ar stop .It Ic FOR Ar V , stop Ta Ar V No increments from 0 to Ar stop