Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






Yield function and statement

Transfers control to the operating system during script execution.

Note the Yield function and statement are not supported under OS/2.

Syntax

Yield

DoEvents is acceptable in place of Yield.

Return value

The Yield function returns 0 as an Integer value.

Usage

The Yield function and statement transfer control to the operating system, so that it can process the events in its queue. In Windows, the operating system does not return control until it has processed all outstanding events, including those generated by a SendKeys statement.

The Yield function and statement are legal within a procedure or a class. They are not legal at the module level.

You can call the function as either Yield or Yield().

See examples

Examples: Yield function and statement
Related topics
LotusScript Language Reference: U through Z
Shell function
Evaluate function and statement
SendKeys statement
Macintosh platform differences in LotusScript




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009