Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rand()
Message
 
 
À
09/09/2005 10:38:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Rand()
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01048125
Message ID:
01048128
Vues:
21
This message has been marked as the solution to the initial question of the thread.
>I'm searching for a code snippet that will create random numbers within a defined range. I've been tinkering with rand() but it seems to always come up with the same random number based on what is in the braces. That's great if you only want one random number, but I need to be able to set the number of numbers and the range of those numbers.

See Re: Shuffle PIN Message #1026660. The RAND(-1) is the key to the random random numbers. :)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform