Skip to content

RANDOMIZ

Andrew Owen edited this page May 30, 2023 · 2 revisions

RANDOMIZE


RANDOMIZE [expr]

Seeds the random number generator with expr.

Parameters

expr is a numeric expression.

Notes

  • For the same seed, SE Basic IV produces different pseudorandom numbers from Microsoft BASIC.
  • The random number generator is very poor and should not be used for serious purposes. See RND for details.

Errors

  • expr has a string value: Illegal function call.
  • The user provides a seed outside [-32768 to 32767] at the prompt: Overflow.

Welcome to the SE BASIC wiki


  • Press RETURN to return to this menu.
  • Enter the name of a TOPIC to display it.
  • Enter EXIT to return to BASIC.

Choose from the following topics:

  1. Quick start guide: QUICK
  2. User's guide: USER
  3. Configuration guide: CONFIG
  4. Language guide: LANGUAGE
  5. Language reference: BASIC
  6. Technical reference: TECH
  7. Developer's guide: DEV
  8. Acknowledgemets: CREDITS
  9. Licenses: LICENSE
Clone this wiki locally