wait(a)

Pauses execution for specified time in seconds


Syntax

o_wait(a)
a: scalar Real - number of seconds to sleep
return: none

Usage

Use this to delay execution of the next expression within a formula

Location

menu: veeos ==> Coding ==> wait

library: codeLib

Example

  // now wait for 5 seconds before continuing
  o_wait(5);

Notes

This is seemingly identical to the Delay object, but is a function so that it can be used in expressions. This works via a direct call to the Windows Kernel. As discussed on VRF ca. 2004 (Georg Nied et al), it can be useful for resolving CPU loading issues.

Reference

Dependencies

Supported On

VEE 7.0+, Windows XP+

See Also


© 2015-2025. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 03 February 2023 13:03.