2016-03-18 11:36:04 +00:00
|
|
|
{{DISPLAYTITLE:_FREETIMER}}
|
2015-08-02 12:12:44 +00:00
|
|
|
The '''_FREETIMER''' function returns a free {{KW|TIMER}} number for multiple {{KW|ON TIMER(n)}} events.
|
|
|
|
|
|
|
|
|
|
|
|
{{PageSyntax}}
|
|
|
|
: timerhandle% = {{KW|_FREETIMER}}
|
|
|
|
|
|
|
|
|
|
|
|
{{PageDescription}}
|
|
|
|
* QB64 can use an unlimited number of ON TIMER (number, seconds!) event {{KW|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)]]
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageNavigation}}
|