如题,因为有2种情况,在这个循环内出现图1或者图2都会继续下一个步骤,不知道怎么搞了。。求大神解惑。
现在图二情况正常,图一的话不会下一个步骤。。
While I = 0
FindPic 0,0,1024,768,"Attachment:\图一.bmp",0.9,intX,intY
FindPic 0,0,1024,768,"Attachment:\图二.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
End If
If intX > 0 And intY > 0 Then
End If
I=1
Wend
你这样写是不对的。intX,intY会被覆盖。要这样写:
While I = 0