; 分号

用来结束一行程式码

范例


int a = 13;

提醒

如果一行程式码最后少打了分号将会产生编译错误,错误资讯有可能指出缺少分号,但也有可能不会;如果出现无法理解或不合乎逻辑的编译错误,第一件事情就是要检查第一行错误讯息附近是否缺少分号。


语法参考主页面

本页由热血青年 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.