Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Random Numbers
Message
From
07/01/2003 11:42:09
 
 
To
07/01/2003 11:38:47
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00738828
Message ID:
00738832
Views:
11
>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
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform