BlitzPlus Docs -> 2D - A-Z -> F -> FreeTimer
FreeTimer (timer_variable)
Parameters:
timer = any valid timer handleDescription:
This command will destroy a timer variable created with the with the CreateTimer command and free the memory it was using. It is a good practice to destroy elements that you are no longer using.See also: CreateTimer, ResetTimer, PauseTimer, ResumeTimer, TimerTicks.
Example:
; Create the timer to track speed frameTimer=CreateTimer(60) ; Your main screen draw loop While Not KeyHit(1) WaitTimer(frameTimer) ; Pause until the timer reaches 60 Cls ; Draw your screen stuff Flip Wend ; Kill the timer FreeTimer(frameTimer)
Comments
None.
BlitzPlus Manual Forum
Blitz3D Equivalent Command




