ArcBasicDocs

Rand

Random integer between from and to (inclusive).

Rand ( from[,to] )

Parameters

from
one end of the range.
to (optional)
the other end. Defaults to 1.

Description

Gives back a random whole number from one number to another, including both ends: Rand(1, 6) rolls a dice. Given just one number, it picks from 1 to that number. Random numbers start the same way every run until SeedRnd is used.

See also