SourcePoint AMD Help

Table of Contents

yieldflag

Yield on each loop iteration.

Syntax

yieldflag [= true | false]

Where:

true

specifies that macros yield at every loop (for, while) iteration.

false

specifies that macros yield control only when an explicit yield command is encountered.

Discussion

The state of yieldflag affects macro file execution. When a macro is running, generated output only appears in the Command window when the macro yields. ย This allows windows to repaint.

When yieldflag is true, macros yield automatically at every loop iteration. This allows other processes to run, the SourcePoint windows to update, and Ctrl+Break processing to occur. When yieldflag is false, the emulator yields control only when an explicit yield command is encountered. The default state of yieldflag is true.

For more information, see the yield command.

Example 1

To display the current setting:

Command input:

yieldflag

Result:

TRUE

Related Topics: