_FREETIMER

From QB64 Wiki
Revision as of 01:25, 6 September 2017 by imported>SMcNeill (style guidelines)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page