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
#3
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
[-] The following 1 user Likes WhTurner's post:
  • jrmrhrb00
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: 1 Guest(s)