Dar Scott wrote:


On Jul 12, 2005, at 12:09 PM, Paul Salyers wrote:

What I need to do is to do that 100 times and store the random number is an aray


I'm not sure what you are asking for. Maybe this gets you to walking distance:

  repeat with i = 1 to 100
    put random(6)-1 into a[i]
  end repeat

Dar

You can sort items (string items) by random:

sort items of myVar numeric \
     by random(the number of items in myVar)

Perhaps this works with an array? If not, put items in a container, sort by random, then put in array.

Brad

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to