Flow Diagram
Example
import Cocoavar index = 10do{
index = index + 1if( index == 15 ){
break
}
println( "Value of index is \(index)")
}while index < 20When the above code is compiled and executed, it produces the following result:
Value of index is 11
Value of index is 12
Value of index is 13
Value of index is 14