Available on: all targets

RND

The RND function generates integers at random, between zero and any number specified in brackets (minus one). If your specified number is greater than zero, random numbers will be generated up to that maximum number.

SYNTAX

 = RND(max)


Legend
  • id : identifier
  • type : datatype
  • v : value
  • "..." : string
  • [...] : optional

EXAMPLE

 score = score + RND(100)


Used in:

Any problem?

If you have found a problem with this keyword, if you think there is a bug or, more simply, you would like it to be improved, open an issue for this example on GitHub.
Thank you!

open an issue BACK TO KEYWORDS