void

void 型別用於函式宣告,表示函式的回傳值是無內容的。

範例

// 在 "setup" 與 "loop" 函式中的動作將被執行
// 但是這麼大的程式中不會回傳任何的訊息

void setup()
{
  // ...
}

void loop()
{
  // ...
}

See also

function declaration


語法參考主頁面

本頁由熱血青年 LBU 譯自英文版。

The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.