PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Various
  • Error
  • Threads
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Restarts a stopwatch previously stopped by ChronoEnd or ChronoPause. The duration timed from the execution of ChronoResume will be added to the duration that was previously calculated.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
Universal Windows 10 App This function is now available for Windows Phone applications.
Android This function is now available for Android applications.
Java This function is now available for Java applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
Universal Windows 10 App This function is now available for Windows Phone applications.
Android This function is now available for Android applications.
Java This function is now available for Java applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Universal Windows 10 App This function is now available for Windows Phone applications.
Android This function is now available for Android applications.
Java This function is now available for Java applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
PHP This function is now available for PHP sites.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
PHP This function is now available for PHP sites.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
PHP This function is now available for PHP sites.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
ProcessDuration is Duration
ChronoStart()
MyFunction1()
ProcessDuration = ChronoPause()
Info("The MyFunction1 process lasted " + ProcessDuration)
ChronoResume()
MyFunction2()
ProcessDuration = ChronoEnd()
Info("The MyFunction1 and MyFunction2 processes lasted " + ProcessDuration)
 
Versions 24 and later
Reports and QueriesWindowsLinuxiPhone/iPadApple WatchWindows MobileUniversal Windows 10 AppUser code (UMC)
ProcessDuration is Duration
MyChrono is Chrono
ChronoStart(MyChrono)
MyFunction1()
ProcessDuration = ChronoPause(MyChrono)
Info("The MyFunction1 process lasted " + ProcessDuration)
ChronoResume(MyChrono)
MyFunction2()
ProcessDuration = ChronoEnd(MyChrono)
Info("The MyFunction1 and MyFunction2 processes lasted " + ProcessDuration)
 
New in version 24
Reports and QueriesWindowsLinuxiPhone/iPadApple WatchWindows MobileUniversal Windows 10 AppUser code (UMC)
ProcessDuration is Duration
MyChrono is Chrono
ChronoStart(MyChrono)
MyFunction1()
ProcessDuration = ChronoPause(MyChrono)
Info("The MyFunction1 process lasted " + ProcessDuration)
ChronoResume(MyChrono)
MyFunction2()
ProcessDuration = ChronoEnd(MyChrono)
Info("The MyFunction1 and MyFunction2 processes lasted " + ProcessDuration)
 
Reports and QueriesWindowsLinuxiPhone/iPadApple WatchWindows MobileUniversal Windows 10 AppUser code (UMC)
ProcessDuration is Duration
MyChrono is Chrono
ChronoStart(MyChrono)
MyFunction1()
ProcessDuration = ChronoPause(MyChrono)
Info("The MyFunction1 process lasted " + ProcessDuration)
ChronoResume(MyChrono)
MyFunction2()
ProcessDuration = ChronoEnd(MyChrono)
Info("The MyFunction1 and MyFunction2 processes lasted " + ProcessDuration)
 
Syntax

Resuming timing kept with a stopwatch number Hide the details

ChronoResume([<Stopwatch number>])
<Stopwatch number>: Optional integer
Identifier of stopwatch used. If this parameter is not specified, its default value is set to 1.
Versions 24 and later
Reports and QueriesWindowsLinuxiPhone/iPadApple WatchWindows MobileUniversal Windows 10 AppUser code (UMC)

Resuming timing kept with a Chrono variable Hide the details

ChronoResume(<Stopwatch>)
<Stopwatch>: Chrono variable
Name of the Chrono variable type corresponding to the stopwatch to use.
New in version 24
Reports and QueriesWindowsLinuxiPhone/iPadApple WatchWindows MobileUniversal Windows 10 AppUser code (UMC)

Resuming timing kept with a Chrono variable Hide the details

ChronoResume(<Stopwatch>)
<Stopwatch>: Chrono variable
Name of the Chrono variable type corresponding to the stopwatch to use.
Reports and QueriesWindowsLinuxiPhone/iPadApple WatchWindows MobileUniversal Windows 10 AppUser code (UMC)

Resuming timing kept with a Chrono variable Hide the details

ChronoResume(<Stopwatch>)
<Stopwatch>: Chrono variable
Name of the Chrono variable type corresponding to the stopwatch to use.
Remarks

Various

This function has no effect if ChronoResume is used on a stopwatch that is already started.

Error

A WLanguage error occurs if ChronoStart was not called before ChronoResume.

Threads

The timing functions (Chronoxxx) that affect the same stopwatch must be used in the same thread.
Component : wd240vm.dll
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment