1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-01 09:10:37 +00:00
qb64/internal/help/_FREETIMER.txt
2019-04-14 22:15:33 -03:00

20 lines
585 B
Plaintext

{{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}}