Or:
(
n = 10;
a = Array.series(n,0,1); // create a series of values
a = a.scramble; //scramble them
a.do({ arg item, i;
a.at(i).postln; //read them out one at a time
});
)
> On Friday, December 6, 2002, at 07:02 AM, mules wrote:
>
>> Hi,
>>
>> I would need an object to randomly pick a value fron a list with no
>> repetition (like urn in Max).
>>
>> Any help ?
>>
>> Romain
>>