|
|
|
|
EndTimerSys (Function) In french: FinTimerSys Ends the execution of a timer triggered by TimerSys.
// Procedure used to display the time in EDT_TIME1 on a regular basis PROCEDURE Display_Time() EDT_Time1 = TimeSys() // Process when opening the window // Display_Time will be automatically called every second TimerNum is int TimerNum = TimerSys("Display_Time", 100, 1) IF TimerNum = 0 THEN Error("Unable to create the timer") END
// Stop the timer during the click on a "BTN_StopTimer" button EndTimerSys(TimerNum)
Syntax
EndTimerSys([<Timer number>])
<Timer number>: Optional integer Number of the timer to destroy (returned by TimerSys). If this number is specified, the selected timer is interrupted. The function has no effect if the timer does not exist or if it has already been interrupted. If this number is not specified and if EndTimerSys is used in the code of a procedure called by a timer, the timer is interrupted. Otherwise, EndTimerSys has no effect.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|