Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need suggestions for not so random number
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Need suggestions for not so random number
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01084023
Message ID:
01084023
Vues:
69
I am looking for suggestions for the following algorithm:

Say I have a “seed” number (or string of digits or letters). E.g. “382622” (does not matter how many digits, so if you think it should be a certain number of digits, please let me know). This “seed” number will never change.

Then I want to generate a number or a string of digits (or letters) that I can “equate” to the above mentioned “seed” number. And I want the generated number or string to be different every time I “request” it. The key is that the newly generated number or string can be equated to the "seed" number. It can be "equated" via a formula or a function or whatever.

I hope I am clear in my explanation.

Thank you in advance for any suggestions.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform