命令結果
5 個節點
本頁內容 5
錯誤輸出
函數程式列印到錯誤流的內容,按 UTF-8 讀取,去掉最後一行之後的換行。
簽名
錯誤輸出(Command Result: Command Result) -> 文字
string Error(CommandResult Command Result)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Command Result | Command Result | — |
返回
| 結果 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 命令結果
- 所屬包
- 標準庫
退出程式碼
函數程式結束時的程式碼:按慣例成功時為 0,否則為其他值。
簽名
退出程式碼(Command Result: Command Result) -> 整數
int ExitCode(CommandResult Command Result)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Command Result | Command Result | — |
返回
| 結果 | 整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 命令結果
- 所屬包
- 標準庫
輸出
函數程式列印到輸出的內容,按 UTF-8 讀取,去掉最後一行之後的換行。
簽名
輸出(Command Result: Command Result) -> 文字
string Output(CommandResult Command Result)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Command Result | Command Result | — |
返回
| 結果 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 命令結果
- 所屬包
- 標準庫
成功
函數程式是否以程式碼 0 結束,程式用它表示成功。
簽名
成功(Command Result: Command Result) -> 真否
bool Succeeded(CommandResult Command Result)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Command Result | Command Result | — |
返回
| 結果 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 命令結果
- 所屬包
- 標準庫
轉為文字
函數The exit code and what was printed, for showing.
簽名
轉為文字(Command Result: Command Result) -> 文字
string ToString(CommandResult Command Result)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Command Result | Command Result | — |
返回
| 結果 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 命令結果
- 所屬包
- 標準庫