首页 > 学院 > 开发设计 > 正文

wk里有没有类似c语言里的break的命令

2019-11-17 05:15:01
字体:
来源:转载
供稿:网友

  和C一样用喽
The break, continue, and next statements can be used to break out of loops that would otherwise keep going. break drops out of the innermost while, for, or do loop. continue causes the next iteration of the loop to begin.
Execution will go to the test eXPRession in a while or do loop, and to expression3 in a for loop. next reads the next record and starts the main input loop again.

上一篇:Gcc HowTo

下一篇:gdb用法

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表