Implement a sleep timer
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
The following example implements the user-defined function sleep,
which causes the AVM to sleep for a specified number of milliseconds:
|
Note that the code determines on which OS it is running, and invokes the appropriate Windows DLL or UNIX shared library.