为了账号安全,请及时绑定邮箱和手机立即绑定

我需要怎么做才可以全部循环d次,for=d?

我需要怎么做才可以全部循环d次,for=d?

泛舟湖上清波郎朗 2023-04-20 18:14:50
For 3Dim a,b,cb = 随机数(3)'Select Case bCase 1:a=ReadUIConfig ("输入框1", "内容")Case 2:a=ReadUIConfig ("输入框2", "内容")Case 3:a=ReadUIConfig ("输入框3", "内容")End SelectInputText aFunction 随机数(最大随机数)随机数 = Int((最大随机数 - 1 + 1) * Rnd() + 1)End FunctionDelay 1000Dim intX, intYFindPic 0, 0, 0, 0, "Attachment:zz.png", "000000", 2, 0.9, intX, intYIf intX > -1 And intY > -1 Then Tap intX,intYEnd Ifc = ReadUIConfig("输入框4", "内容")Delay cNext循环三次,可是在Function 随机数位置报错了,说next必须放到function前面。
查看完整描述

1 回答

?
萧十郎

TA贡献1815条经验 获得超12个赞

function也就是函数,应该把函数移动到for循环的外面

查看完整回答
反对 回复 2023-04-23
  • 1 回答
  • 0 关注
  • 105 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信