关于timer()
wwwql 2003-12-07 09:44:13 在timer事件中还写timer()数,这是为什么
比如:在timer事件中有如下代码:
long cycle;
string str_cycle;
if tab_1.tabpage_2.rb_day.checked then
if hour(now())=integer(tab_1.tabpage_2.ddplb_day.text) then
if bak=0 then
tab_1.tabpage_2.cb_6.Postevent(clicked!)
cycle = 3600;
bak=1
end if
else
bak=0
end if
end if
timer(real(str_cycle));在timer事件里为什么用这个函数,这是嵌套吗,为什么这样用