PDA

View Full Version : sugestion for rnd & rndf



sandyrepope
21-05-2008, 00:11
I would like to suggest that in the help file that for rnd and rndf a note reminding the user that certain situations require the varable to be dimensioned as a floating point.


Extended numeric syntax:

RND executed without any parameters returns a random Extended-precision value that is less than 1, but greater than or equal to 0.

Numbers generated by RND aren't really random, but are the result of applying a pseudo-random transformation algorithm to a starting ("seed") value.

Given the same seed, RND algorithm always produces the same sequence of "random" numbers.


Here for example. It isn't clear that a floating point varable should be used. I think that a new user won't get it. (I didn't at first).

Thanks
Sandy

ErosOlmi
21-05-2008, 06:35
Thanks Sandy.