#34 Random >> #next: throws an error

Затворени
отворен преди 8 години от nero · 0 коментара

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]
Впишете се за да се присъедините към разговора.
Няма етикет
Няма етап
Няма изпълнител
1 участника
Зареждане...
Отказ
Запис
Все още няма съдържание.