Kaya 0.5.3 reference for Lfrand::lfSrand

List of functions and data types in Lfrand

Void lfSrand(Int seed)

Arguments

Usage

Seed the random number generator. You should usually only do this once at the start of your program. Depending on the unpredictability of random numbers needed, Time::now, Time::microtime, /dev/urandom and /dev/random may be appropriate sources for the seed value.

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya