#34 Random >> #next: throws an error

Lezárt
megnyitva ekkor: 8 éve nero által · 0 hozzászólás

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 lezárta ekkor: 7 éve
Jelentkezzen be hogy csatlakozhasson a beszélgetéshez.
Nincs címke
Nincs mérföldkő
Nincs megbízott
1 Résztvevő
Töltés...
Mégse
Mentés
Még nincs tartalom.