Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Timer Trap Problem
#2
Simply return from your timer:

Code: (Select All)

Rem sample of timer return
t1 = _FreeTimer
On Timer(t1, 1) GoSub Trap
Timer(t1) On
Start:
Do
x$ = InKey$
If x$ = Chr$(27) Then End
Loop
End
Trap:
Count = Count + 1
Print "Trap count:"; Count
Return
Reply


Messages In This Thread
Timer Trap Problem - by eoredson - 10-09-2024, 01:30 AM
RE: Timer Trap Problem - by SMcNeill - 10-09-2024, 01:51 AM
RE: Timer Trap Problem - by eoredson - 10-09-2024, 02:28 AM
RE: Timer Trap Problem - by SMcNeill - 10-09-2024, 02:55 AM
RE: Timer Trap Problem - by eoredson - 10-09-2024, 03:02 AM
RE: Timer Trap Problem - by eoredson - 10-09-2024, 03:37 AM
RE: Timer Trap Problem - by ahenry3068 - 10-09-2024, 11:18 AM
RE: Timer Trap Problem - by Cobalt - 10-09-2024, 03:42 PM
RE: Timer Trap Problem - by bplus - 10-09-2024, 06:40 PM
RE: Timer Trap Problem - by eoredson - 10-10-2024, 12:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  I'm looking for suggestions to solve the problem! Petr 10 649 02-05-2026, 04:56 PM
Last Post: ahenry3068
  Nth problem with hardware images Ikerkaz 9 474 01-23-2026, 02:58 PM
Last Post: bplus
  Install problem...... jssantoro 6 380 12-17-2025, 08:31 PM
Last Post: madscijr
  maths problem with percentage pmackay 3 527 09-04-2025, 09:57 AM
Last Post: pmackay
  Problem with font in Teletext browser. SquirrelMonkey 7 745 08-27-2025, 11:38 AM
Last Post: BDS107

Forum Jump:


Users browsing this thread: 1 Guest(s)