随机函数

//清空随机种子数
Rem start
VBS Randomize

//得到 1~99999999 之间的一个随机数
VBS x = Int((99999999 * Rnd) + 1)
//判断这个数字是否8位数字,如果不是8位数字,就重新生成
If x<10000000
    Goto start
EndIf
 
SayExpression x

Last modified onSaturday, 05 January 2013 13:21

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169

Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
back to top