找回密码
 注册
Simdroid-非首页
查看: 75|回复: 2

[PCL] pcl中有没有跳转语句

[复制链接]
发表于 2011-1-17 20:31:46 | 显示全部楼层 |阅读模式 来自 江苏南京
请问各位高手,在pcl中我想使用类似于c语言中的跳转语句,loop goto。不知在pcl编程中有没有相应的格式?
发表于 2011-1-17 21:40:16 | 显示全部楼层 来自 上海
Simdroid开发平台
Branching
PCL is a block structured language. Language elements that control branching and skipping are the IF THEN ELSE, SWITCH CASE, BREAK and CONTINUE statements
Looping
A loop is a repeated execution of a particular segment or group of statements. Loops include initialization, incrementation, execution and test. Loops may be nested within one another. Block structures used for looping in PCL are WHILE, REPEAT, LIST and FOR statements.

似乎没有goto的用法,而且个人用2年来没见过goto的方法
回复 不支持

使用道具 举报

 楼主| 发表于 2011-1-17 23:13:42 | 显示全部楼层 来自 江苏南京
2# kalaok
谢谢啦,我已经用if 语句实现自己想要的功能了。呵呵。感觉goto能方便点。
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-27 21:28 , Processed in 0.032878 second(s), 14 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表