Foundation of Go Language —— 09. for (Not translated)
»
    Go语言中只有for循环,没有while循环:
    for true {
        fmt.Println("ok")
        if true {
        cotinue
        }
        if false {
        break
        }
        if false {
        goto endLabel
        }
    }
    for i:=1; i < 100; i++ {
        fmt.Println(i)
    }
    endLabel:
    fmt.Println("end of code file")
    ————www.v-signon.com学习者共勉
                        
«
--Alex.Zhang
--www.v-signon.com Learningers Co-Encouraged
Back
Personal Art: www.up-task.com Unit: Individual
中文 Русский 京ICP备19038994号-2
If the content on this website infringes upon your any rights, please contact me at 1307776259@qq.com for removal