12-25-2023, 08:44 PM
LitDev,
Here's the code:
'Timer.interval= 10
'Timer.tick=OnTimerTick
'Name=LDTimer.Addtick(OnTimerTick)
'LDTimer.Interval(Name,10)
Name=LDTimer.Add()
LDTimer.Interval(Name,10)
LDTimer.Tick=OnTimerTick
Sub OnTimerTick
TextWindow.WriteLine("Here")
EndSub
The first 2 lines are the regular timer. That works, but it has been commented out. The next 2 lines have been commented out and they don't work. The next 3 have not been commented out, but they don't work either. I couldn't find this in the old forum. So, how do you make these work. To me they are setup like the first 2 lines which do work.
JR
Here's the code:
'Timer.interval= 10
'Timer.tick=OnTimerTick
'Name=LDTimer.Addtick(OnTimerTick)
'LDTimer.Interval(Name,10)
Name=LDTimer.Add()
LDTimer.Interval(Name,10)
LDTimer.Tick=OnTimerTick
Sub OnTimerTick
TextWindow.WriteLine("Here")
EndSub
The first 2 lines are the regular timer. That works, but it has been commented out. The next 2 lines have been commented out and they don't work. The next 3 have not been commented out, but they don't work either. I couldn't find this in the old forum. So, how do you make these work. To me they are setup like the first 2 lines which do work.
JR