Array – Talk
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
i.e. | i.e. | ||
<pre>_myArray select (random (count | <pre>_myArray select (random (count _myArray)) - 0.5)</pre> |
Revision as of 20:10, 28 September 2006
Should there be any comment here or in random about randomly selecting an array element given the rounding rules?
i.e.
_myArray select (random (count _myArray)) - 0.5)