16.12.2009, 12:20
Код:
ReactionTestString = ""; new random_set[71] = "AaBbCcDdEeFfGgHhiJjKkLMmNnOoPpQqRrSsTtUuVvWwXxYyZz12345678901234567890"; for(new i=0; i<RStringLength; i++) { ReactionTestString[i] = random_set[random(71)]; //this line }
the string is 70 characters long, so for the null char, I used 71 characters, is that correct?
and random() should be random(70) then? .. I don't really understand ><