[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 XPrandomize()
 Initialise the Pseudo Random generator
------------------------------------------------------------------------------

   Function:   XPrandomize()

               This function initialises the Pseudo-Random generator.
               When using the XPrandom() funcion without calling this
               function, 100*Seconds() is used as an Initialiser. The random
               function is Pseudo Random in that sense that the list of random
               numbers generated are the same when the initialiser is the same
               (of course, this is not the case when using 100*Seconds()).

               Pseudo generators make it possible te regenerate the same
               list of "random" numbers for testing purposes, and use a
               truly Random list when using another initialisor.

               Calling this function is therefore not required, but can be
               handy in some cases.

   Syntax:     XPrandomize(nSeed) --> NIL

   Arguments:  nSeed is the Seed, defaults to 100*seconds() (Also the
               same default when this function is not called at
               all). nSeed should be a number between 0 and 1
               (exclusive), or contain 10 digits preferably.

   Returns:    NIL

   Usage:      XPrandomize(9876543210)
               * - And Now the random numbers generated

See Also: XPrandom()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson