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.
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageSyntax}}
|
2017-10-10 14:55:21 +00:00
|
|
|
: {{Parameter|timerhandle%}} = [[_FREETIMER]]
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{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.
|
2015-08-02 12:12:44 +00:00
|
|
|
* 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)]]
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
2019-04-15 01:15:33 +00:00
|
|
|
{{PageNavigation}}
|