Skip to main content

random

random(
@x ? ## required
@y ? ## required
) -> llll/null
note

random is a built-in function in the bell programming language and is not unique or exclusive to bellplay~.

Returns a random integer between @x and @y.


Arguments

  • @x [int/float/llll] Numeric llll.(required)
  • @y [int/float/llll] Numeric llll.(required)

Output

Random integer between @x and @y. [llll/null]

warning

random will return null without raising an error if required arguments are not provided.