qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
RANDOMIZE Statement, RND Function
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Initializes the random-number generator (RANDOMIZE), or returns a single-
 precision random number between 0 and 1 (RND).
 
    RANDOMIZE [seed]
    RND[(n)]
 
    ■ seed     Any type of numeric expression; used to initialize the
               random-number generator; if omitted, the value of the
               TIMER function is used
 
    ■ n        Determines how RND generates the next random number:
 
               When n Is...         RND Returns...
               ════════════════     ════════════════════════════════════════
               < 0                  Same number for any n
               = 0                  Last number generated
               > 0 (or omitted)     Next random number in sequence
 
 See Also
     TIMER Function