Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Example */
- for (int i = 1; i < 5; i++) {
- if (i == 3) { break; } // Stop And Exit
- print(i.toString()); // Last Output : 2
- }
- /* Output
- 1
- 2
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement