just one more remark:
The second and third arguments are not the lower and upper bounds, they are the mean value and the standard deviation. The optional fourth and fifth parameter can be used to define the boundaries.
Here you can see the definition from the online manual:
z_normal(Stream:<integer>, Mu:<real>, Sigma [,LowerBound:<real>, UpperBound<:real>]);
Thank you RalfTobel! This was also helpful.
I am still having trouble with the parameter for "Stream". Does this mean that I get the same set of numbers every time I call a method with the same value for "Stream" ?
do while i < 3
gives me: 2,2,2
Now when i run the simulation again , i would again get 2,2,2 ?
If so , how do i get totally random (distributed) values?
Thank you so much!
Usually you want to have reproducable simulation runs to be able to find and fix problems.
If you want to have different random seeds for each run then open the dialog of the Event Controller.
For Version 10.1 and before deselect 'Reset Random Number Streams on Reset' in the Tools menu.
For Version 11 and newer select 'Increment Variant on Reset'.