【机器视觉】 default算子
生活随笔
收集整理的這篇文章主要介紹了
【机器视觉】 default算子
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
00. 目錄
文章目錄
- 00. 目錄
- 01. 概述
- 02. 簽名
- 03. 描述
- 04. 注意
- 05. 參數
- 06. 結果
- 07. 附錄
01. 概述
default - switch段中的默認分支。
02. 簽名
default( : : : )
03. 描述
default在switch段中開放備用分支。 如果switch語句的控制表達式的計算結果不匹配前面的case語句的任何整數常量,則訪問該分支。
原文描述:
default opens an alternative branch in a switch block. This branch is accessed if the calculated control expression of the switch statement does not match any of the integer constants of the previous case statements.
04. 注意
無
05. 參數
無
06. 結果
default(作為算子)總是返回2(H_MSG_TRUE)。
HDevelop例程
switch_case.hdev Use switch/case statement for a multiway branch
程序示例
07. 附錄
7.1 機器視覺博客匯總
網址:https://dengjin.blog.csdn.net/article/details/116837497
總結
以上是生活随笔為你收集整理的【机器视觉】 default算子的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【机器视觉】 continue算子
- 下一篇: 【机器视觉】 else算子