From: "Steven Musumeche"
Subject: Re: Randomize Timer
Try this:
for i = 1 to 10
randomize timer
? int((rnd(10)*1))
next i
This should print 10 random numbers between 0 and 10. Sorry for any typos.
--
Steven Musumeche
cecil@aisp.net
Paulo Jorge de O. C. Matos (PDestroy) wrote in message
...
>Hi,
>I have read that when for example we make randomize timer and then
calculate
>a random nunbver using RND the computer uses a formula to calculate it
using
>the seconds of the inner clock. Anyonw knows what's the formula or how the
>computer gets the number?
>
>Regards,
>Paulo Jorge Matos
>
*** QwkNews (tm) v2.1
* [TN71] alt.lang.powerbasic POWER_BAS Gateway
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/560.2)
|