停止while循环

admin2021-01-29  2.5K+

winform.button.oncommand = function(id,event){
        if(winform.button.text == "开始"){
                winform.button.text = "停止"
                myfunc()
       }
        else winfom.button.text = "开始"               
}
myfunc = function(){
        while(win.delay(1)){
                if(winform.button.text == "开始")
                break;
        }         
}
转载请注明原文地址: https://aardio.net/read-147.html
最新回复(0)
aardio问答
aardio编程语言