We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't get LDTimers to work
#1
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
Reply


Messages In This Thread
Can't get LDTimers to work - by jrmrhrb00 - 12-25-2023, 08:44 PM
RE: Can't get LDTimers to work - by jrmrhrb00 - 12-26-2023, 12:17 AM
RE: Can't get LDTimers to work - by WhTurner - 12-26-2023, 11:20 AM
RE: Can't get LDTimers to work - by litdev - 12-26-2023, 11:53 AM
RE: Can't get LDTimers to work - by jrmrhrb00 - 12-26-2023, 03:41 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)