4-3 goto gosub label

作者: 妹妹好想你 | 来源:发表于2017-10-25 19:58 被阅读0次

Goto ;跳转到指定的标签并继续执行
下面是实例:
···
Goto, MyLabel
...
MyLabel:
Sleep, 100
···

Gosub ;跳转到指定的标签继续执行,直到遇到 Return
下面是实例:
···
Gosub, Label1
MsgBox, The Label1 subroutine has returned (it is finished).
return

Label1:
MsgBox, The Label1 subroutine is now running.
return
···

相关文章

网友评论

    本文标题:4-3 goto gosub label

    本文链接:https://www.haomeiwen.com/subject/ofjcpxtx.html