1Lfrand.lfSrand(3kaya)        Kaya module reference       Lfrand.lfSrand(3kaya)
2
3
4

NAME

6       Lfrand::lfSrand - Seed the generator
7

SYNOPSIS

9       Void lfSrand( Int seed )
10

ARGUMENTS

12       seed The initial seed
13

DESCRIPTION

15       Seed  the random number generator. You should usually only do this once
16       at the start of your program. Depending on the unpredictability of ran‐
17       dom  numbers  needed,  Time.now  (3kaya)  ,  Time.microtime  (3kaya)  ,
18       /dev/urandom and /dev/random may be appropriate sources  for  the  seed
19       value.
20

AUTHORS

22       Kaya   standard  library  by  Edwin  Brady,  Chris  Morris  and  others
23       (kaya@kayalang.org). For further information see http://kayalang.org/
24

LICENSE

26       The Kaya standard library is free software;  you  can  redistribute  it
27       and/or  modify  it  under  the  terms  of the GNU Lesser General Public
28       License (version 2.1 or any later version) as  published  by  the  Free
29       Software Foundation.
30
31
32
33Kaya                             December 2010           Lfrand.lfSrand(3kaya)
Impressum