共用方式為


_THROTTLE System Variable

Specifies the execution speed of programs when the Trace window is open.

_THROTTLE = nSeconds

Parameters

  • nSeconds
    Specifies the delay in seconds between execution of each program line. The startup default value is 0, with no pause between execution of program lines. nSeconds can range from 0 to 5.5 seconds. For example, if nSeconds is 0.5 seconds, a 1/2-second delay occurs between execution of program lines.

Remarks

The Trace window, one of the debugging tools available in Visual FoxPro, displays a program's source code as the program executes. The Trace window highlights each line in the program when the line executes. The numeric value of _THROTTLE determines the delay between execution of each program line when the Trace window is open.

Note   The Trace Between Breaks option on the Trace window's Program menu must be on for a delay to occur.

See Also

SET DEBUG | SET STEP | Trace Window