User Tools

Site Tools

한국어

cubloc:rnd:index

Rnd( )

variable = Rnd(0)

The command Rnd returns a random number from 0 through 32767. The number passed to Rnd has no effect, but is required.

Dim A As Integer
A = Rnd(0)

Internally, this function is pseudorandom; it creates a random number based on previous values. When powered off and turned back on again, the same pattern of random values is generated. Thus, this function is not a true random number generator.

Go CUBLOC home

cubloc/rnd/index.txt · Last modified: 2016/04/14 11:07 (external edit)