rocinantealpha

reference / running

for

Counts from one number to another, inclusive, and runs a block for each.

fill goldfor i from 1 to 9 [ circle at (i * 40) 150 radius (i * 2) ]
what it draws: the whole window, 400 by 300
What the example of for draws

How to write it

for name from start to end [ ... ]
for name from start to end by step [ ... ]

Related