Produce random numbers
- Last UpdatedJul 24, 2024
- 1 minute read
In a script, use the following commands to produce a random number between 0 and 255:
OLE_CreateObject(%SR,"System.Random");
randtag = (%SR.NextDouble)*255;
In a script, use the following commands to produce a random number between 0 and 255:
OLE_CreateObject(%SR,"System.Random");
randtag = (%SR.NextDouble)*255;