| Concept Framework 1.0 documentation | Contents | Index |
| Name | Version | Deprecated |
| srand | version 1.0 | no |
| number srand(number seed) |
| seed | [in] Seed for random-number generation |
|
The srand function sets the starting point for generating a series of pseudorandom integers. To reinitialize the generator, use 1 as the seed argument. Any other value for seed sets the generator to a random starting point.
rand retrieves the pseudorandom numbers that are generated. Calling rand before any call to srand generates the same sequence as calling srand with seed passed as 1. |
import standard.C.math |
| Documented by Simona Gabriela Plesuvu, generation time: Thu Oct 15 20:02:03 2009 GMT | (c)2009 RadGs Software |