RANDOMIZE

From QB64 Wiki
Revision as of 04:40, 31 August 2009 by imported>Clippy
Jump to navigation Jump to search

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


Syntax: RANDOMIZE seednumber


  • Seednumber is just about any value.


Example: RANDOMIZE TIMER


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


See also: RND



Navigation:

Go to Keyword Reference - Alphabetical

Go to Keyword Reference - By usage