举报
#include <File.au3> Local $file = FileOpen("test.txt", 1) If $file = -1 Then MsgBox(4096, "错误", "不能打开文件.") Exit EndIf For $i = 1 To 300 FileWriteLine($file, name(15)) Next FileClose($file) Func name($t1) $array = StringSplit("abcdefghijklmnopqrstuvwxyz01234567890123456789", "") $t0 = "" For $x = 1 To $t1 $t0 &= $array[Random(1, $array[0], 1)] Next Return $t0 EndFunc ;==>name
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-8-3 21:44 , Processed in 0.206515 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.