String of Random Numbers
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 95
- Joined: Wed Mar 30, 2011 10:15 am
String of Random Numbers
How do I randomize a list of numbers between 1 and 9 in which each number occurs once?
Re: String of Random Numbers
Hi Britt, this should do it
Code: Select all
put "1,2,3,4,5,6,7,8,9" into theList
sort items of theList numeric by random(9)
put theList
-
- Posts: 95
- Joined: Wed Mar 30, 2011 10:15 am
Re: String of Random Numbers
Awesome. Thank you!