#34 Random >> #next: throws an error

Uzavrená
otvorené 8 rokov pred užívateľom nero · 0 komentárov

Originally at 2011-09-03T13:47:01Z by Bernat Romagosa closed at 2011-09-13T12:42:55Z

The method is missing parentheses around the interval, should look as follows:

Random >> next: anInteger

^(1 to: anInteger) collect: [:each | self next]
Originally at 2011-09-03T13:47:01Z by Bernat Romagosa closed at 2011-09-13T12:42:55Z The method is missing parentheses around the interval, should look as follows: Random >> next: anInteger ^(1 to: anInteger) collect: [:each | self next]
nero zatvorené 7 rokov pred
Prihláste sa pre zapojenie do konverzácie.
Žiadne štítky
Žiadny míľnik
Žiadny priradený
1 účastníkov
Načítavanie...
Zrušiť
Uložiť
Zatiaľ neexistuje žiadny obsah.