PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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 <Chrono>. End or <Chrono>.Pause. The duration timed from the execution of <Chrono>.Resume 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.
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.
iPhone/iPad This function is now available for iPhone/iPad applications.
Universal Windows 10 App This function is now available for Windows Phone applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps 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.
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.
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.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
Versions 24 and later
Reports and QueriesWindowsLinuxiPhone/iPadApple WatchWindows MobileUniversal Windows 10 AppUser code (UMC)
ProcessDuration is Duration
MyChrono is Chrono
MyChrono.Start()
MyFunction1()
ProcessDuration = MyChrono.Pause()
Info("The MyFunction1 process lasted " + ProcessDuration)
MyChrono.Resume()
MyFunction2()
ProcessDuration = MyChrono.End()
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
MyChrono.Start()
MyFunction1()
ProcessDuration = MyChrono.Pause()
Info("The MyFunction1 process lasted " + ProcessDuration)
MyChrono.Resume()
MyFunction2()
ProcessDuration = MyChrono.End()
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
MyChrono.Start()
MyFunction1()
ProcessDuration = MyChrono.Pause()
Info("The MyFunction1 process lasted " + ProcessDuration)
MyChrono.Resume()
MyFunction2()
ProcessDuration = MyChrono.End()
Info("The MyFunction1 and MyFunction2 processes lasted " + ProcessDuration)
 
Syntax
Reports and QueriesWindowsLinuxiPhone/iPadApple WatchWindows MobileUniversal Windows 10 AppUser code (UMC)
<Chrono>.Resumes()
<Chrono>: Chrono variable
Name of the Chrono variable type corresponding to the stopwatch to use.
Remarks

Various

This function has no effect if <Chrono>.Resume is used on a stopwatch that is already started.

Error

A WLanguage error occurs if <Chrono>.Start was not called before <Chrono>.Resume.

Threads

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