Random #'s
Michael D Mays
michael.rr at mdmays.com
Fri Jan 28 13:08:22 EST 2005
What does it mean to sort "1,2,3,4,5" by 12?
Maybe it should be
sort items of x numeric by random(10000)
?
Michael
On Jan 27, 2005, at 4:21 PM, Dar Scott wrote:
>
> On Jan 27, 2005, at 2:31 AM, D.Rothe wrote:
>
>> How can I include only unique numbers?
>
> Here is an interesting variation:
>
> on mouseUp
> put rlist()
> end mouseUp
>
> function rlist
> put "1,2,3,4,5,6,7,8,9,10" into x
> sort items of x by random(10000)
> return item 1 to 6 of x
> end rlist
>
> Dar
>
> **********************************************
> DSC (Dar Scott Consulting & Dar's Lab)
> http://www.swcp.com/dsc/
> Programming Services and Software
> **********************************************
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list