random

skylib_fluffos_v3/mudlib/doc/driver/efuns/numbers/random · 304 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

.\"return a pseudo-random number
.DT
random
$MUDNAME$ driver help
random

.SH Name
.SI 5
random() - return a pseudo-random number
.EI

.SH Synopsis
.SI 5
int random( int n );
.EI

.SH Description
.SP 5 5
Return a pseudo-random number from the range [0 .. (n -1)] (inclusive).
.EP

.SH See also
.SI 5
.EI

Site Stats

Snippets: 1791
Codebases: 571