亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

我需要怎么做才可以全部循環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條經驗 獲得超13個贊

function也就是函數,應該把函數移動到for循環的外面

查看完整回答
反對 回復 2023-04-23
  • 1 回答
  • 0 關注
  • 195 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號