Permits use of the same sequence of pseudo-random numbers every time a script is run
Pseudo-random numbers can be used explicitly by scripts via the Random function and are used implicitly in Optimization (some modes) and Monte-Carlo analysis.
If RandomSeed is not specfied or is 0 then random numbers are different every time RealTest runs and are selected from a much larger set of possible values (the C runtime library function rand_s is used).
When RandomSeed is specified, the provided value is passed to the C srand function and the rand function is then used for each random value needed.
It is recommended to not specify a RandomSeed unless you have a particular need for it, as the rand_s function is significantly more robust than rand is.