Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift do while

var x = 0; 
while x < 10 { 
    print "(x)" //prints x until x < 10 evaluates to false
    x = x + 1
}
 
PREVIOUS NEXT
Tagged: #swift
ADD COMMENT
Topic
Name
6+2 =