Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QuickBASIC 3.0 - <b>randomize reseed random number generator</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
RANDOMIZE                Reseed Random Number Generator

 RANDOMIZE [expression]   or   RANDOMIZE TIMER

    Supplies a new seed for the pseudo-random number generator.

  expression    A numeric expression; a seed for the random number
                generator.

       TIMER    If the keyword TIMER is supplied as argument, QuickBASIC
                gets a new seed from the internal clock.

   ----------------------------------------------------------------------

      Notes:    If no argument is given, QuickBASIC prompts for a number
                between -32768 and 32767. Each random number seed produces
                a unique sequence of random numbers, but the same seed
                always produces the same sequence.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson