OWBasic for Pocketviewer

Home INTRO Group IFUNC Alphabetical Index

Initialize random number generator

RANDOMIZE [ i% ]

Every time OWBasic starts, the random number generator is set to the same start value. To start with a real random number it is necessary to restart the random number generator. Called without a parameter RANDOMIZE sets the random number generator based on the current time. With parameter i the random number generator starts with this value and produces the same sequence of numbers every time for the same i.


  • RND - Random number
  • RND# - Random number
Home INTRO Group IFUNC Alphabetical Index