Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift continue

for i in 1...3 {
    if i == 2 {
        continue
    }
    else{
      print(i)
    }
}
//output: 1, 3
 
PREVIOUS NEXT
Tagged: #swift #continue
ADD COMMENT
Topic
Name
6+4 =