> Anyone got a neat way of creating a random number between 1 and
> x in a script?  (The current time is no good as a seed since
> the script is launched every hour from the  scheduler).

You could perhaps use the last digit of a resource - like pkmem
or something as the seed.

That might be random enough for your purposes.

-- 
Ravi (http://shell-shocked.org)
PowerPro 3.8.11 on Windows XP

"640K ought to be enough for anybody. - Bill Gates, 1981"




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/JV_rlB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to