退出FOR

qzyuanmu 2010-04-10 10:23:16
用 continue 不是我需要的 ,我要跳出整个循环,而后面的代码继续运行,谢谢
...全文
45 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
wag_enu 2010-04-10
  • 打赏
  • 举报
回复
建议楼主多按 F1
dawugui 2010-04-10
  • 打赏
  • 举报
回复
[Quote=引用楼主 qzyuanmu 的回复:]
用 continue 不是我需要的 ,我要跳出整个循环,而后面的代码继续运行,谢谢
[/Quote]
EXIT

Description

In a DO...LOOP or a FOR...NEXT control structure, passes control out of the current loop. EXIT takes no parameters.

Syntax

EXIT

Usage

An EXIT statement in a DO...LOOP or FOR...NEXT control structure causes control to pass to the statement following the LOOP or NEXT statement. In a nested loop, an EXIT statement passes control out of the current loop structure.
jimwoo 2010-04-10
  • 打赏
  • 举报
回复
exit
ying_wzm 2010-04-10
  • 打赏
  • 举报
回复
exit

1,075

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧