Welcome to Dream.In.Code
Become an Expert!

Join 150,124 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,026 people online right now. Registration is fast and FREE... Join Now!




Random numbers

 
Reply to this topicStart new topic

Random numbers, Generating unique random numbers

rasvinder.soodan
23 Jun, 2008 - 10:59 PM
Post #1

New D.I.C Head
*

Joined: 23 Jun, 2008
Posts: 1

CODE

dim rnd1 as new Random
Dim id As Integer
        id = rnd1.[Next](1,6)
        Response.Write(id & "<br>")


** Edit ** code.gif
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: Random Numbers
23 Jun, 2008 - 11:01 PM
Post #2

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 7,164



Thanked: 78 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
Do you have a question, or are you simply sharing code?
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 01:32AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month