1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00
QB64-PE/internal/help/_FREETIMER.txt

21 lines
587 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}}
<