Citrine/SL | Manual

[ Predmet ] recursion.

☞ Roundabout ≔ Predmet novo.
Roundabout on: ‘circle:’ do: { :x
✎ napišite: x, ustavi se.
(x < 3) prav: { ⛏ recursive circle: x + 1. }.
}.
Roundabout circle: 1.
1
2
3