Last active
July 2, 2020 11:37
-
-
Save andrea9292/c413a607329c52ee1ef8b481106a9f95 to your computer and use it in GitHub Desktop.
Smalltalk's array manipulating
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data | | |
data := Array new: 10. | |
"do something..." | |
data do: [ :each | | |
Transcript print: each; cr ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment