v1.2p4 - kfun - random

NAME

random - return random number

SYNOPSIS

int random(int mod)

DESCRIPTION

Return a positive random number in the range 0 .. mod-1. If mod is less than 1, 0 is returned.