|
Duindain Novice
Joined: 14 Feb 2003 Posts: 31 Location: Perth, Australia
|
Posted: Thu Sep 02, 2004 1:34 am
list ordering |
hey i have a string list with 7 elements in it eg the numbers 1-7 i would like to reorder the list randomly and place each element into a different part of the list
is this possible? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Sep 02, 2004 10:46 am |
Yes, but it would be easier to just regenerate the list.
#VAR random7 {}
#WHILE (%numitems( @random7) < 7) {#ADDI random7 %random( 1, 7)} |
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
|
|
|