Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Password generator
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00533282
Message ID:
00533316
Vues:
10
>PMFJI, but this returns an Alpha-Numeric password. Chr(97) is the ASCII value for lower case A. Rand() gives you a random value between 0 and 1 (decimal) so you have to multiple it by something to get another range (in this case 0 to 25). Adding that number and 97 will give you a random letter between 'a' and 'z'.

Well. He mentioned in the leading question that the first character had to be an alpha character, so I took the guess he would like to see numeric too, as long it wasn't first character in the password.
- Erik Niese-Petersen

Crazy Dane in USA.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform