Randomize
for i = 1 to 4
iArray(i) = int(rnd * 55)
next i
Problem Starts:
I got a 0 and I can't have zeros
I thought rnd * 55 would produce a number form 1 to 55
to get around the 0 I ad...
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_10243101.html
Zones:
Visual BasicDate Answered: 12/06/1999 Grade: A Views: 4
Hello!
I'm using a random number generator based upon the record count in a database to draw new data into fields. My problem is that it is sluggish. By that I mean at times I must click the ite...
http://www.experts-exchange.com/Programming/Misc/Q_21002319.html
Zones:
ProgrammingDate Answered: 05/26/2004 Grade: A Views: 19
How can I use the rnd or whatever is necesary to create an app that deals the 52 cards that are in a deck with repeting them... and randomly?
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_21197140.html
Zones:
Visual BasicDate Answered: 11/08/2004 Grade: A Views: 0
hi all,
IntTemp = Int((255 * Rnd()) + 1)
I used above ASP.NET code. Problem is in " Rnd() "
Rnd() value is changing everytime.
What is the alternative for Rnd()? OR How will stop Rnd() ...
http://www.experts-exchange.com/Web_Development/Miscellaneous/Q_22031739.html
Hi,
I need to pick a number between 1 and X
I use : Int(Rnd * x) + 1
This works fine, but, I need to do this 1000's times.
I have to make the sum of how many times the number gets chosen.
What I...
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_10197364.html
Zones:
Visual BasicDate Answered: 03/16/2002 Grade: A Views: 0
/*Thanks in advance for any help/insight.
Am using Borland C++ 4.52*/
#include <stdio.h> //scanf and printf
#include <stdlib.h> //rand & srand functions
#include <time.h> ...
http://www.experts-exchange.com/Programming/Languages/C/Q_20382367.html
Zones:
CDate Answered: 10/25/2002 Grade: A Views: 0
Access will no recognized the rnd function for me. Is there something I am missing? I need to order a set of records, then choose the top few.
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_22873286.html
I need to generate a series of random numbers based on a TRIANGULAR DISTRIBUTION. Preference would be not to utilise the inbuilt Rnd function
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_10317269.html
Zones:
Visual BasicDate Answered: 03/28/2000 Grade: A Views: 0
Trying to use the Rnd function to assign a random number to a variable. User enters a number (any whole number 1-100) in a textbox. If the number is > random number, a label tells them to guess a ...
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_11688538.html
Zones:
Visual BasicDate Answered: 10/28/2000 Grade: A Views: 12
I'm using the RND function discussed on this site many times and my ASP always returns the same number. I know this sounds nuts, but it's always record no. 4269 out of 6051 possible records. Any id...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_11848458.htm...
Zones:
ASPDate Answered: 11/13/2000 Grade: A Views: 0