Talk:Generate a random number
From NSIS Wiki
Jump to navigationJump to search
This sounds pretty much ineffective and not really random. What about this solution?
System::Call kernel32::GetTickCount()i.r1 IntOp $1 $1 % 10
This sounds pretty much ineffective and not really random. What about this solution?
System::Call kernel32::GetTickCount()i.r1 IntOp $1 $1 % 10