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.