这个算难题,还是我基础太差了?
static r as long
if text1.text= "33 " then
r=r+1
text2.text=r
else
end if
每点击一次cmd,text2.text就会增加1个。
我想实现的是,如果连续两次或两次以上等于33,
text3.text=就会记录已经连续几次出现,如果
接下来的数字不等于33,那么text3.text=0
[解决办法]
r=0
if text1.text= "33 " then
r=r+1
if r> =2 then
text2.text=r
enf if
else
r=0
text2.text=r
end if