createtimer.bmx 240 B

12345678910111213
  1. SuperStrict
  2. 'Maximum allowable Timer is 16
  3. Global timers:TTimer[500]
  4. For Local n:Int = 0 Until 18
  5. timers[n] = CreateTimer(1)
  6. If timers[n] = Null
  7. Print "Cannot create timer "+n
  8. Else
  9. Print "Successfully created timer "+n
  10. EndIf
  11. Next