var num= 0
    while (num < 10 ) {
    执行语句
    num++
    }