Text1 = Text1 + Chr(Int(Rnd * 26) +

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/09 10:24:55
Text1=Text1+Chr(Int(Rnd*26)+Text1=Text1+Chr(Int(Rnd*26)+Text1=Text1+Chr(Int(Rnd*26)+Int(Rnd*26)+97的意

Text1 = Text1 + Chr(Int(Rnd * 26) +
Text1 = Text1 + Chr(Int(Rnd * 26) +

Text1 = Text1 + Chr(Int(Rnd * 26) +
Int(Rnd * 26) + 97的意思是随机生成97-122的整数(a-z的ACSII码)
Chr(Int(Rnd * 26) + 97)将数字转换成字母
Text1 = Text1 + Chr(Int(Rnd * 26) + 97)text1的原有内容再加上一个小写字母