forked from Galleondragon/qb64
-
Notifications
You must be signed in to change notification settings - Fork 23
_FREETIMER
Cory Smith edited this page Sep 1, 2022
·
3 revisions
The _FREETIMER function returns a free TIMER number for multiple ON TIMER(n) events.
timerhandle% = _FREETIMER
- QB64 can use an unlimited number of ON TIMER (number, seconds!) event INTEGER values at once.
- Every time _FREETIMER is called the INTEGER value returned will increase by one, starting at 1, whether it is used or not.
- Store multiple returns in different variable names to refer to separate events later.