dMusicb
11/29/2018, 6:40 PMfor (i in (1..10)) {
// do stuff
someFunc() // inside someFunc call continue to skip below part
// do other stuff
}Ruckus
11/29/2018, 7:14 PMBoolean so they can do
for (i in 1..10) {
// do stuff
if (someFunc()) {
// do other stuff
}
}cedric
11/29/2018, 9:16 PMrepeat(10) is shorter 🙂