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 ] |
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
((a = 3) or: [b = 5]) | |
ifTrue: [ Transcript print: 'The results is', r printString; cr ]. |
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
Transcript print: 'Hello, world!'; cr. |
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
MainMemory at: 16r18FF0040 putByte: 16rFF. |
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
[ fileStream atEnd ] | |
whileFalse: | |
[ someObject doSomething: (data at: i) ] |
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
| name age | | |
name := Prompter prompt: '이름을 입력하세요.'. | |
age := Prompter prompt: '나이를 입력하세요.'. | |
MessageBox | |
notify: name, '님은 ', age, '살이시네요.'. |