Random but unique, more info

Dar Scott dsc at swcp.com
Sun Jan 12 18:32:01 EST 2003


On Sunday, January 12, 2003, at 03:52 PM, Sarah wrote:

> sort lines of vChooseFrom by random(10000)  -- or some suitably big 
> number
> return line 1 to vNumToChoose of vChooseFrom

That's not fair!  That's using your superior knowledge of Revolution 
commands!

I think you are right, the number should be big or you will see a 
slight ordering tendency.  If random() can do it, I'd go to 8 digits.

Dar Scott




More information about the use-livecode mailing list