Yield()

Yield()

Type: REGULAR FUNCTION

Purpose: Allows other Windows® applications to run, by temporarily suspending the Explain™ script. Control returns to the Explain script when Windows has nothing else to do.

This function is useful in preventing a tight loop from hanging up Windows. Simply place a Yield() call in the loop. Obviously, time-critical operations should not call Yield().

Sleep() and Dawdle() also give Windows time to execute other programs.

Usage: Yield()

WinExec()