| |
Bob Sanders
Posts: 2
Score: 0
Joined: 8/21/2007
Status: offline
|
I have this script that when executed repeats the same character. The Last name always comes out something like this: Atwdt. The characters in the 2nd and 5th position are always the same. The script is for testing functionality of a pair of text fields. '###################################################################################### Dim LastName, FirstName LastName = UCase(RandChar) & RandChar & RandChar & RandChar & RandChar FirstName = UCase(RandChar) & RandChar & RandChar & RandChar Function RandChar() Randomize RandChar = Chr(Int(Rnd * 26 + 97)) End Function '######################################################################################
|
|