PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
New WINDEV, WEBDEV, WINDEV Mobile 24 feature!
  • Properties specific to the description of Chrono variables
  • Functions that use the Chrono type
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
The Chrono type is used to define all the advanced characteristics of a stopwatch. The characteristics of this stopwatch can be defined and modified using different WLanguage properties.
Note: See Declaring a variable for more details.
Example
c is Chrono
ChronoStart(c)
...
// Code to be timed
...
ChronoEnd
Remarks

Properties specific to the description of Chrono variables

The following properties can be used to handle a Chrono variable:
Property nameType usedEffect
StartedBoolean
  • True if the stopwatch is started,
  • False otherwise.
This property is available in read-only.
ValueDuration Timed duration.
Note: This property is equivalent to the result of ChronoValue.
This property is available in read-only.

Note: These properties can be handled by using one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>

Functions that use the Chrono type

The following functions use the Chrono type:
Versions 10 and later
ChronoEnd
New in version 10
ChronoEnd
ChronoEnd
Stops a stopwatch and returns the time passed (in milliseconds) since the start of timing (call to ChronoStart).
Versions 15 and later
ChronoPause
New in version 15
ChronoPause
ChronoPause
Pauses a stopwatch in order to measure the time spent on a process.
Versions 18 and later
ChronoReset
New in version 18
ChronoReset
ChronoReset
Stops and resets an existing stopwatch to zero.
Versions 15 and later
ChronoResume
New in version 15
ChronoResume
ChronoResume
Restarts a stopwatch that was stopped by ChronoEnd or ChronoPause.
Versions 10 and later
ChronoStart
New in version 10
ChronoStart
ChronoStart
Starts a stopwatch to find out the duration of a process (in milliseconds) and resets an existing stopwatch.
Versions 10 and later
ChronoValue
New in version 10
ChronoValue
ChronoValue
Indicates the time passed (in milliseconds) since the call to ChronoStart.
Minimum required version
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment