sys(4204) - active document 调试

请参阅

在 Visual FoxPro 的调试程序中,启用或废止对 Active Documents 的调试支持。

语法

SYS(4204 [, 0 | 1])

返回值类型

字符型

参数

0

在 Visual FoxPro 中关闭对 Active Document 的包含,使得不能在调试程序中调试一个 Active Document。

1

(默认值)在 Visual FoxPro 中打开对 Active Document 的调试支持,使得可以在调试程序中调试一个 Active Document。

说明

返回空字符串。

使用 SYS(4204) 可以在 Visual FoxPro 的调试程序中调试 Active Documents。执行SYS(4204, 1),就让 Visual FoxPro 成为一个 Active Document 服务程序,就可以调试一个 Active Document 了。执行 SYS(4204, 0) 可以关闭对 Active Document 的包含。

注意 为了打开调试程序,必须在 Active Document 代码中添加 SET STEP ON。