It would not be more simple to simply call DmQuickSort?
And in the callback function, you implement something that randomly 
return -1, 0 or +1 (Something like SysRandom()%3 - 1, but better)

Ludovic, from Montpellier/France :)

Henk Jonas wrote:
> 
> DmMoveRecord ?
> 
> Henk, from Berlin too
> 
> Sebastian from Berlin/Germany wrote:
> 
>> Hey,
>>
>> i have a record-database and i want to bring the records in a random 
>> order. How could i do this an easy way. I planned to shuffle them by 
>> reading one deleting it and insert it at a random position ... but i 
>> think this isn�t the easyest way :)
>> Greets
>> Sebastian
> 
> 
> 


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to