12-26-2023, 11:20 AM
(This post was last modified: 12-26-2023, 11:29 AM by WhTurner.
Edit Reason: addition
)
JR,
Did you realize the the interval is defined in miliseconds, so the program should print 100 lines per second?
I havn't tried this but waht happens when you take an interval of 10000 ?
EDIT:
I trested the following program, this works:
Name=LDTimer.Add()
LDTimer.Interval(Name,5000)
LDTimer.Tick=OnTimerTick
while 0=0
Program.Delay(1000)
TextWindow.WriteLine(" in while")
EndWhile
Sub OnTimerTick
TextWindow.WriteLine("Here")
EndSub
Did you realize the the interval is defined in miliseconds, so the program should print 100 lines per second?
I havn't tried this but waht happens when you take an interval of 10000 ?
EDIT:
I trested the following program, this works:
Name=LDTimer.Add()
LDTimer.Interval(Name,5000)
LDTimer.Tick=OnTimerTick
while 0=0
Program.Delay(1000)
TextWindow.WriteLine(" in while")
EndWhile
Sub OnTimerTick
TextWindow.WriteLine("Here")
EndSub