#34 Random >> #next: throws an error

Đã đóng
%! (template.HTML=8 năm trước cách đây)đang mở bởi nero · 0 ý kiến

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]
Đăng nhập để tham gia bình luận.
Không có nhãn
Không có Milestone
Không có người được phân công
1 tham gia
Đang tải...
Hủy bỏ
Lưu
Ở đây vẫn chưa có nội dung nào.