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 / How would i make a randome number print

Author
Message
vivi
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 29th Jan 2003 17:53
i want a number bto come up randomly
i have been doing things like:



i take it this isnt the right way to go. What should i do
WHY WAIT FOR GAMES.......MAKE THEM COME TO YOU
>>>>www.sharksoft.scripterz.com<<<<<
THANKS IN ADVANCE
jasuk70
21
Years of Service
User Offline
Joined: 3rd Dec 2002
Location: Hemel Hempstead
Posted: 29th Jan 2003 18:45
PRINT RND(100)+1

should do it.

I'm sure this is in the manual and the online help.

Jas
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 29th Jan 2003 19:06
If you run that every time to number will be the same. For a truly random number between 1 and 100, use this:



Visit [url]www.lightning-systems.co.uk[/url]
You are the th person to view this signature.
Epidemicz
22
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 30th Jan 2003 00:47
Here's a little random number generator I made. Takes a seed value and gives you a random number from that. You can generate random numbers all day with this lol.



I am the very disease you pretend to be.

Login to post a reply

Server time is: 2024-11-23 23:41:19
Your offset time is: 2024-11-23 23:41:19