https://kotlinlang.org logo
#announcements
Title
# announcements
d

dumptruckman

08/19/2017, 2:39 AM
Huh.. How do you do multiconditional for loops?
d

dragas

08/19/2017, 7:08 AM
For loops were never meant to be used outside iterating some sort of a collection. Use
while
instead.
d

dean

08/19/2017, 3:05 PM
I'd suggest using
while
, but if you really want to, use
&&
or
||
in the condition
t

trevjones

08/19/2017, 3:51 PM
or
if(someCondition) break
2 Views