Posted By

sebnozzi on 11/30/12


TranScript smalltalk range interval iterations

Versions (?)

Print numbers from 1 to 10

 / Published in: SmallTalk

Note that this uses the to:do: method of Number

  1. 1 to: 10 do: [ :element | Transcript show: element; cr ].

Report this snippet  

You need to login to post a comment.