Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Password generator
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00533282
Message ID:
00533316
Views:
19
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform