HP 3000 Manuals

RANDOMIZE [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

RANDOMIZE 

The RANDOMIZE statement resets the value of a seed that the RND function
uses for random number generation.  The seed is set to one of 116 values
that are available to it.

Syntax 

RANDOMIZE [n]

Parameters 

n                An optional parameter specifying a value for the seed.

Examples 

     10 RANDOMIZE             !A random seed value.
     20 RANDOMIZE 1.793       !The seed is 1.793.



MPE/iX 5.0 Documentation