ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

  • Miscellaneous
  • Error
  • Threads
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.
New in version 28
Android Chrono variables are now available for Android applications.
Android Widget Chrono variables are now available in Android widget mode.
Example
Universal Windows 10 AppAndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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
<Stopwatch>.Resumes()
<Stopwatch>: Chrono variable
Name of the Chrono variable that corresponds to the stopwatch to use.
Remarks

Miscellaneous

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: wd280vm.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment