ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Date and time functions
  • Miscellaneous
  • Error
  • Threads
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 2025
WEBDEV - Browser code Variables of type Chrono are now available in browser code. The syntax for handling Chrono variables also becomes available.
Example
DuréeTraitement is Duration 
MonChrono is Chrono 
MonChrono.Start()
MaFonction1()
DuréeTraitement = MonChrono.Pause()
Info("Le traitement MaFonction1 a duré " + DuréeTraitement)
MonChrono.Resume()
MaFonction2()
DuréeTraitement = MonChrono.End()
Info("Les traitements MaFonction1 et MaFonction2 ont duré " + DuréeTraitement)
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: wd300vm.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/18/2024

Send a report | Local help