【机器视觉】 until算子
生活随笔
收集整理的這篇文章主要介紹了
【机器视觉】 until算子
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
00. 目錄
文章目錄
- 00. 目錄
- 01. 概述
- 02. 簽名
- 03. 描述
- 04. 注意
- 05. 參數
- 06. 結果
- 07. 附錄
01. 概述
until - 會一直執行循環,直到條件為true為止。
02. 簽名
until( : : Condition : )
03. 描述
until是repeat…until循環的結尾。 直到Condition參數判斷為“false”(0)為止,repeat…until會循環運行。 循環的內容至少運行一次,因為在主體的末尾才檢查條件。
原文描述:
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. 參數
Condition (input_control) integer → (integer)
循環的條件
06. 結果
如果指定參數的值是正確的,until(作為算子)返回2(H_MSG_TRUE)。 否則會引發異常并返回錯誤代碼。
HDevelop例程
程序示例
07. 附錄
7.1 機器視覺博客匯總
網址:https://dengjin.blog.csdn.net/article/details/116837497
總結
以上是生活随笔為你收集整理的【机器视觉】 until算子的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【机器视觉】 try算子
- 下一篇: 【机器视觉】 while算子