Dear all,
I have two question about "rand."
(1) Why the code "40+int(rand(0)*2)+1" shows 67? I expect it shows 41 or 42.
(2) Why I need modify the code as below to get my results (i.g. 41 or 42)?
use IFPORT
idfile = 40+int(rand()*2+1)
Thanks all experts.
Michael



