FREETIMER: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
(Created page with "{{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 differe...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
{{PageDescription}} | {{PageDescription}} | ||
* QB64 can use an unlimited number of ON TIMER (number, seconds!) event [[INTEGER]] values at once. | * 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. | * 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. | * Store multiple returns in different variable names to refer to separate events later. |
Latest revision as of 01:41, 23 January 2023
The _FREETIMER function returns a free TIMER number for multiple ON TIMER(n) events.
Syntax
- timerhandle% = _FREETIMER
Description
- 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.
See also