<< Click to Display Table of Contents >> Navigation: Explain™ Control Language > Library Routines > Run Control functions > Yield() |
Allow 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.
REGULAR FUNCTION
Yield()