Set Variable rand to
Set Random Number Generator Constants = 1983, 2002
Set Random Number Generator Seed = 1337
rand = Generate Random Number (max value 9999)
I'm not a developer, I just want to install things...
In fact it's "rand()" that gets used internally and with "rand()" you need to set a unique "seed" for each random generation. Otherwise rand() returns each time the same identical number. http://stackoverflow.com/questions/9459 ... ocess?rq=1
Set Variable rand to
Set Variable PARSETEMP to
Set Variable const1 to
Set Variable const2 to
Set Variable const3 to
Set Variable cTIME to $TIME$
Parse String $cTIME$ into Variables const1 and PARSETEMP (Split at first occurrence of pattern)
Parse String $PARSETEMP$ into Variables const2 and const3 (Split at first occurrence of pattern)
Set Random Number Generator Constants = $const2$, $const3$
Set Random Number Generator Seed = $const1$$const1$
rand = Generate Random Number (max value 9999)
I know I could have done this in less lines, but this is how I'm doing it currently, the variables cTIME and PARSETEMP are probably not necessary.
I'm not a developer, I just want to install things...