sub fR {
return int(rand(@_[1] - @_[0] + 1)) + @_[0];
}
$iRandom = fR(0, 19);
I'm using this code, and, every time I try to use $iRandom, it generates a new value, I need it to generate a random value once and maintain that value; how would I do this?