home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
dirs
/
tcl_447.lzh
/
TCL
/
tcl.lzh
/
tcl
/
help
/
random
< prev
next >
Wrap
Text File
|
1990-05-03
|
415b
|
22 lines
The random command returns a random number or seeds the random number
generator.
Usge:
random x
returns a random integer between 0 and x-1
random x seed
seeds the random number generator with x
BUGS
uses the library routine, consequently a seed and the random number are
for everyone using the shared library. This will be changed to where
each program using the library has a private seed and number.