VB 怎么在调试时控制循环次数,让他显示数据
来源:百度知道 编辑:UC知道 时间:2024/06/22 19:24:24
定义一个计次变量,如: Dim count
然后把conut 加入到循环里面。
之后用Text或Label来显示:Text.text=conut
Label.Caption=count
dim a
循环开始
a=a+1
debug.pring a
循环结束
UC知道是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度知道 编辑:UC知道 时间:2024/06/22 19:24:24
定义一个计次变量,如: Dim count
然后把conut 加入到循环里面。
之后用Text或Label来显示:Text.text=conut
Label.Caption=count
dim a
循环开始
a=a+1
debug.pring a
循环结束