rand函数
在PB中调用messagebox('',string(rand(5)))每次都返回固定的值,并不是随机数。正常的方式如下:
Randomize ( integer(string(now(),'hhmmss')) )
messagebox('',string(rand(5)))
在PB中调用messagebox('',string(rand(5)))每次都返回固定的值,并不是随机数。正常的方式如下:
Randomize ( integer(string(now(),'hhmmss')) )
messagebox('',string(rand(5)))