Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Loops-Continue/Smalltalk/loops-continue-1.st
Normal file
10
Task/Loops-Continue/Smalltalk/loops-continue-1.st
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
1 to: 10 do: [ :i |
|
||||
[ :continue |
|
||||
i % 5 = 0 ifTrue: [
|
||||
Transcript show: i; cr.
|
||||
continue value ].
|
||||
Transcript
|
||||
show: i;
|
||||
show: ', '.
|
||||
] valueWithExit.
|
||||
]
|
||||
2
Task/Loops-Continue/Smalltalk/loops-continue-2.st
Normal file
2
Task/Loops-Continue/Smalltalk/loops-continue-2.st
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
valueWithExit
|
||||
^ self value:[^ nil]
|
||||
Loading…
Add table
Add a link
Reference in a new issue