can someone also confirm this on their version?
I am running ver 14.0.16
codes:
Code: Select all
let>k=0
repeat>k
let>RND_SEED=1000
add>k,1
random>10000,value
writeln>c:\temp\random.txt,wr,%value%
Until>k=100
result is 3799
every entry. - your's might be different not sure.
problem i found is that when i did the Let>RND_SEED=1000
this for some reason determine what the first number is, i thought this was a seed value starting and shouldn't matter if i increase it or decrease it.
random is fine if i take the seed statement out of the loop. But this means that my first number will always be 3799 and not a random number between 1000 and 10000.
----
edit:
i also notice that if i take the seed out of the loop,
run the script, rename the file
run the script again, and the result in the two file are exactly the same.