RANDOMIZE

From QB64 Wiki
Revision as of 03:43, 28 August 2009 by 72.95.147.221 (talk)
Jump to navigation Jump to search

RANDOMIZE is used with a seed number to generate random(RND) numbers.

Syntax: RANDOMIZE seednumber

Example: RANDOMIZE TIMER

Using a TIMER value ensures that the starting return values are different
every time. Otherwise they would always be the same!