March 06, 2021, 05:22:35 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Like stats
Home
Forum
Help
Search
Gallery
Login
Register
SyntaxBomb - Indie Coders
»
Languages & Coding
»
Blitz Code Archives
»
BlitzPlus Gui
»
[bb] WaitTimer(timername) by Reaper [ 1+ years ago ]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [bb] WaitTimer(timername) by Reaper [ 1+ years ago ] (Read 628 times)
BlitzBot
Jr. Member
Posts: 1
Total likes: 0
[bb] WaitTimer(timername) by Reaper [ 1+ years ago ]
«
on:
June 29, 2017, 12:28:40 AM »
Title :
WaitTimer(timername)
Author :
Reaper
Posted :
1+ years ago
Description :
Just found a major drawback with this function - It will work fine if you aren`t scanning for any events but if you are then any events that occur while the program is away in the waittimer function will be lost :/ .Works fine if you are just trying to get backward compatibility though.
Code :
Code: BlitzBasic
Function
WaitTimer
(
timer$
)
Repeat
Select
WaitEvent
(
)
Case
$803 :
End
Case
$4001
Select
EventSource
(
)
Case
timer$
Return
End Select
End Select
Forever
End Function
Comments :
none...
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
SyntaxBomb - Indie Coders
»
Languages & Coding
»
Blitz Code Archives
»
BlitzPlus Gui
»
[bb] WaitTimer(timername) by Reaper [ 1+ years ago ]
SimplePortal 2.3.6 © 2008-2014, SimplePortal