random number help...

Dar Scott dsc at swcp.com
Tue Jul 12 12:43:33 EDT 2005


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

-- 
**********************************************
     DSC (Dar Scott Consulting & Dar's Lab)
     http://www.swcp.com/dsc/
     Programming and software
**********************************************




More information about the use-livecode mailing list