Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Randomizing problems with build final

Author
Message
Tristan
20
Years of Service
User Offline
Joined: 18th May 2004
Location:
Posted: 18th May 2004 21:27
Why is it that my code creates random numbers when I run it inside darkBasic (classic) but when I "build final" and run it, it brings up the same number each time. An example of this is below:
TEH_CODERER
20
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 18th May 2004 21:37
I think using this before the randomizing might help:
randomize timer()
On the other hand I could be being really dumb!

Current Projects: Dark_Worlds_Map_Editor version0.1 aneale5@orange.esinet.org.uk
Tristan
20
Years of Service
User Offline
Joined: 18th May 2004
Location:
Posted: 18th May 2004 21:49
Thanks for the help - it works well

Login to post a reply

Server time is: 2024-09-22 09:49:38
Your offset time is: 2024-09-22 09:49:38