1
1
Fork 0
mirror of https://github.com/DualBrain/QB64.git synced 2023-11-19 13:10:13 +00:00
QB64-website/wiki/_FREETIMER.md
2022-12-24 21:14:48 -06:00

569 B

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