【机器视觉】 return算子
00. 目录
文章目录
- 00. 目录
- 01. 概述
- 02. 签名
- 03. 描述
- 04. 注意
- 05. 参数
- 06. 结果
- 07. 附录
01. 概述
return- 结束程序调用。
02. 签名
return( : : : )
03. 描述
retrun结束当前程序调用并返回到调用它的程序。 在调用程序中的调用完毕之后,程序将继续执行下一个活动的程序行(program execution is continued at the next active program line after the procedure call in the calling procedure.)。 如果当前程序是主程序,则程序执行结束,程序计数器跳转到程序结束。 请注意,除主程序外,每个子程序都必须至少包含一个可到达的return算子行,以便能够从调用中返回到程序。
原文描述:
return terminates the current procedure call and returns to the calling procedure. Program execution is continued at the next active program line after the procedure call in the calling procedure. If the current procedure is the main procedure, program execution is finished and the program counter jumps to the end of the program. Note that every procedure except the main procedure has to contain at least one reachable return operator line in order to be able to return from a call to the procedure.
04. 注意
略
05. 参数
无
06. 结果
retrun总是返回2(H_MSG_TRUE)。
HDevelop例程
程序示例
07. 附录
7.1 机器视觉博客汇总
网址:https://dengjin.blog.csdn.net/article/details/116837497
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
