首页 > 其他 > 详细

halcon算子翻译——return

时间:2017-11-12 22:51:32      阅读:296      评论:0      收藏:0      [点我收藏+]

名称

return- 结束程序调用。

用法

return( : : : )

描述

retrun结束当前程序调用并返回到调用它的程序。 在调用程序中的调用完毕之后,程序将继续执行下一个活动的程序行(program execution is continued at the next active program line after the procedure call in the calling procedure.)。 如果当前程序是主程序,则程序执行结束,程序计数器跳转到程序结束。 请注意,除主程序外,每个子程序都必须至少包含一个可到达的return算子行,以便能够从调用中返回到程序。

结果

retrun总是返回2(H_MSG_TRUE)。

模块

Foundation

halcon算子翻译——return

原文:http://www.cnblogs.com/xhiong/p/7823202.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!