Citrine (programming language): Difference between revisions

Content deleted Content added
sp
Fixed syntax error.
Line 72:
 
<source lang="citrine">
1 to: 10 bystep: 1 do: { step | Pen write: 'this is step:' + step. }.
</source>
 
Line 85:
<source lang="citrine">
#0-4
0 to: 10 bystep: 1 do: { i |
Pen write: 'iteration #' + i, brk.
(i = 4) break.