Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 0 to: 11 do: [:i|
- myWait := Delay forMilliseconds: i.
- Transcript show: (myWait asString),':';cr.
- 5 timesRepeat: [Transcript show: (Time millisecondsToRun: [1000 timesRepeat: [myWait wait]]);cr.]].
- Transcript:
- a Delay(0 msecs):
- 0
- 2
- 2
- 0
- 2
- a Delay(1 msecs):
- 2015
- 2015
- 2018
- 2018
- 2017
- a Delay(2 msecs):
- 2017
- 2018
- 2015
- 2019
- 2017
- a Delay(3 msecs):
- 4036
- 4033
- 4035
- 4032
- 4036
- a Delay(0 msecs):
- 2
- 4
- 0
- 0
- 2
- a Delay(1 msecs):
- 2017
- 2018
- 2018
- 2018
- 2015
- a Delay(2 msecs):
- 2019
- 2018
- 2020
- 2018
- 2018
- a Delay(3 msecs):
- 4035
- 4032
- 4028
- 4033
- 4035
- a Delay(4 msecs):
- 4036
- 4033
- 4037
- 4034
- 4034
- a Delay(5 msecs):
- 6047
- 6054
- 6052
- 6053
- 6051
- a Delay(6 msecs):
- 6054
- 6046
- 6054
- 6050
- 6051
- a Delay(7 msecs):
- 8069
- 8064
- 8070
- 8066
- 8075
- a Delay(8 msecs):
- 8063
- 8068
- 8066
- 8069
- 8069
- a Delay(9 msecs):
- 10082
- 10080
- 10088
- 10081
- 10076
- a Delay(10 msecs):
- 10085
- 10092
- 10085
- 10087
- 10086
- a Delay(11 msecs):
- 12097
- 12131
- 12105
- 12104
- 12104
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement