日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

【机器视觉】 elseif算子

發(fā)布時(shí)間:2024/4/24 编程问答 39 豆豆
生活随笔 收集整理的這篇文章主要介紹了 【机器视觉】 elseif算子 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

00. 目錄

文章目錄

    • 00. 目錄
    • 01. 概述
    • 02. 簽名
    • 03. 描述
    • 04. 注意
    • 05. 參數(shù)
    • 06. 結(jié)果
    • 07. 附錄

01. 概述

elseif - 選擇性的條件語句。

02. 簽名

elseif( : : Condition : )

03. 描述

elseif是一個(gè)條件語句,在一個(gè)if或另一個(gè)elseif塊之后繼續(xù)使用的備選塊。 Condition參數(shù)必須計(jì)算為布爾值或整數(shù)表達(dá)式。

如果條件判斷為’true’(非0),則運(yùn)行直到下一個(gè)語句elseif,else或endif。 運(yùn)行到本塊的結(jié)尾處,在與它相應(yīng)的endif語句之后繼續(xù)執(zhí)行。

如果條件判斷為’false’(0),則繼續(xù)執(zhí)行下一個(gè)相應(yīng)的塊語句elseif,else或endif。

原文描述

elseif is a conditional statement that continues after an if or another elseif block with an alternative block. The Condition parameter must evaluate to a boolean or integer expression.

If Condition evaluates to ‘true’ (not 0), the following block body up to the next corresponding block statement elseif, else, or endif is executed. Reaching the end of the block the execution continues after the corresponding endif statement.

If Condition evaluates to ‘false’ (0), the execution is continued at the next corresponding block statement elseif, else, or endif.

04. 注意

05. 參數(shù)

Condition (input_control)   integer → (integer)
if語句的條件。
默認(rèn)值: 1

06. 結(jié)果

elseif(作為算子)如果條件正確返回2(H_MSG_TRUE)。 否則會(huì)引發(fā)異常并返回錯(cuò)誤代碼。

HDevelop例程

程序示例

07. 附錄

7.1 機(jī)器視覺博客匯總
網(wǎng)址:https://dengjin.blog.csdn.net/article/details/116837497

總結(jié)

以上是生活随笔為你收集整理的【机器视觉】 elseif算子的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。