本帖最后由 tubaba 于 2016-7-26 10:46 编辑
你自己不是都写出来了吗...$seed = Random(8,16,1)
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $seed = ' & $seed & @CRLF & '>Error code: ' & @error & @CRLF) ;### Debug Console
$str=''
For $i=1 To $seed
Local $test[3] =[Random(48,57,1),Random(65,90,1),Random(97,122,1)]
$str &=Chr($test[Random(0,2,1)])
Next
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $str = ' & $str & @CRLF & '>Error code: ' & @error & @CRLF) ;### Debug Console
For $i = StringLen($str) To 20
$str &=Chr(32)
Next
$str = StringTrimLeft(StringToBinary($str),2)
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $str = ' & $str & @CRLF & '>Error code: ' & @error & @CRLF) ;### Debug Console
|