>I need to create a program that generats random numbers between 100 and 999. Is there a way to do this with Foxpro?
First set the random to work as random. :)
RAND(-1)
Then, you're ready to random anything with the following parameters:
lnRandom=INT(RAND()*899)+100