2022-07-31 21:57:56 +00:00
|
|
|
{{QBDLDATE:07-31-2022}}
|
|
|
|
{{QBDLTIME:23:37:54}}
|
2022-05-20 22:18:31 +00:00
|
|
|
{{DISPLAYTITLE:_FREETIMER}}
|
|
|
|
The [[_FREETIMER]] function returns a free [[TIMER]] number for multiple [[ON TIMER(n)]] events.
|
|
|
|
|
|
|
|
|
|
|
|
{{PageSyntax}}
|
|
|
|
: {{Parameter|timerhandle%}} = [[_FREETIMER]]
|
|
|
|
|
|
|
|
|
|
|
|
{{PageDescription}}
|
|
|
|
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
|
|
* [[ON TIMER(n)]]
|
|
|
|
|
|
|
|
|
|
|
|
{{PageNavigation}}
|
|
|
|
|
2022-07-31 21:57:56 +00:00
|
|
|
[[Category:Latest]]
|