1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-03 08:51:22 +00:00
qb64/internal/help/_FREETIMER.txt

20 lines
585 B
Plaintext
Raw Normal View History

2016-03-18 11:36:04 +00:00
{{DISPLAYTITLE:_FREETIMER}}
2017-10-10 14:55:21 +00:00
The [[_FREETIMER]] function returns a free [[TIMER]] number for multiple [[ON TIMER(n)]] events.
{{PageSyntax}}
2017-10-10 14:55:21 +00:00
: {{Parameter|timerhandle%}} = [[_FREETIMER]]
{{PageDescription}}
2017-10-10 14:55:21 +00:00
* 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}}
2016-03-18 11:36:04 +00:00
* [[ON TIMER(n)]]
2019-04-15 01:15:33 +00:00
{{PageNavigation}}