Does anyone know how to random number in x++ ? I looked for random function in axapta but i couldn’t find it, so I try the other way, get current milisecond, but I couldn’t find how to get that too Does anyone can help? Thanks before
Hi! You can use the standard class RANDOM for that. Example: Random rand = new Random(); int i; i = rand.nextInt();
There is also a couple of classes in the AOT that start with “Random…” you can take a look on.
[^] Case closed! Thanks a lot Helmut [8D]