Microsoft KB Archive/135455

{| = How to Emulate Sleep Mode in FoxPro for Unix =
 * width="100%"|

ID: Q135455

2.60 UNIX kbprint

The information in this article applies to:


 * Microsoft FoxPro for Unix, version 2.6

SUMMARY
There may be situations where it is necessary to put FoxPro for Unix in a sleep mode to suspend processing for a short time. FoxPro for Unix does not have a SLEEP command, however you can emulate sleep mode.

MORE INFORMATION
For example, when running an application that is performing serial I/O through the comm port, you may need to temporarily pause FoxPro to allow the I/O operation sufficient time to complete.

By using the Wait Window command in conjunction with the TIMEOUT clause, you can simulate the SLEEP command. For example, to suspend FoxPro for 2/10ths of a second, use this command:

Wait Window "" Timeout .2 Additional reference words: FoxUnix 2.60 suspend KBCategory: kbprint KBSubcategory: FxprintGeneral Keywords         : FxprintGeneral Version          : 2.60 Platform         : UNIX
 * }