[Gambas-user] [Gambas Bug Tracker] Bug #1058: Gambas Rnd (Web programming)

bugtracker at ...3416... bugtracker at ...3416...
Sat Dec 31 11:58:50 CET 2016


http://gambaswiki.org/bugtracker/edit?object=BUG.1058&from=L21haW4-

Comment #1 by ADMINISTRATOR:

I think I understood: the embedded HTTP server is the gambas interperter, and it forks to handle a request. So the random number generator has always the same state.
I will try to fix that.

In the meanwhile, as a workaround, just use the Randomize function before using Rnd.

ADMINISTRATOR changed the state of the bug to: Accepted.






More information about the User mailing list