Continue:修訂版本之間的差異
從 YFRobotwiki
(以“The continue statement skips the rest of the current iteration of a loop (do, for, or while). It continues by checking the conditional expression of the loop, and pr...”为内容创建页面) |
(沒有差異)
|
2015年7月31日 (五) 20:13的最新修訂版本
The continue statement skips the rest of the current iteration of a loop (do, for, or while). It continues by checking the conditional expression of the loop, and proceeding with any subsequent iterations.
示例
for (x = 0; x < 255; x ++) { if (x > 40 && x < 120){ // create jump in values continue; } analogWrite(PWMpin, x); delay(50); }
更多建議和問題歡迎反饋至 YFRobot論壇