1 2 3 | return; return value;// مقداری که در جلویش نوشته شده را برمیگرداند. |
1 2 3 4 5 6 7 | int checkSensor(){ if (analogRead(0) > 400) { return 1; else{ return 0; } } |
1 2 3 4 5 6 7 8 9 10 | void loop(){ // brilliant code idea to test here return; // the rest of a dysfunctional sketch here // this code will never be executed // این قسمت از کد هیچ وقت اجرا نخوهد شد. } |