ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a cool new tool that will help unleash your creativity with programming robots in just seconds!

getRandom

Utility.getRandom(min, max)

Parameters

min Inclusive lower bound on the random integer.
max Exclusive upper bound on the random integer.

Returns

Random integer between min (inclusive) and max (exclusive).

Description

Returns a random integer between min (inclusive) and max (exclusive).