【机器视觉】 until算子
00. 目錄
文章目錄
- 00. 目錄
- 01. 概述
- 02. 簽名
- 03. 描述
- 04. 注意
- 05. 參數(shù)
- 06. 結(jié)果
- 07. 附錄
01. 概述
until - 會一直執(zhí)行循環(huán),直到條件為true為止。
02. 簽名
until( : : Condition : )
03. 描述
until是repeat…until循環(huán)的結(jié)尾。 直到Condition參數(shù)判斷為“false”(0)為止,repeat…until會循環(huán)運行。 循環(huán)的內(nèi)容至少運行一次,因為在主體的末尾才檢查條件。
原文描述:
until ends a repeat…until loop. The repeat…until loop is executed as long as the Condition parameter evaluates to ‘false’ (0). The body of the loop is executed at least once, because the condition will be checked at the end of the body.
04. 注意
無
05. 參數(shù)
Condition (input_control) integer → (integer)
循環(huán)的條件
06. 結(jié)果
如果指定參數(shù)的值是正確的,until(作為算子)返回2(H_MSG_TRUE)。 否則會引發(fā)異常并返回錯誤代碼。
HDevelop例程
程序示例
07. 附錄
7.1 機(jī)器視覺博客匯總
網(wǎng)址:https://dengjin.blog.csdn.net/article/details/116837497
總結(jié)
以上是生活随笔為你收集整理的【机器视觉】 until算子的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【机器视觉】 try算子
- 下一篇: 【机器视觉】 while算子