[<<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.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson