JavaScript Editor js editor     Web development 



Main Page

Enables or disables output to the main Visual FoxPro window or to the active user-defined window from within programs.

SET CONSOLE ON | OFF

Parameters

ON


Sends all output to the main Visual FoxPro window or to the active user-defined window. (Default)
OFF


Suppresses output to the main Visual FoxPro window or to the active user-defined window.

Remarks

SET CONSOLE is set to ON when you are using Visual FoxPro interactively, and it cannot be changed to OFF from the Command window. You can change the setting to OFF only from within a program.

SET CONSOLE affects some interactive Visual FoxPro dialog boxes. For example, if SET CONSOLE is set to OFF and you issue BROWSE when no table is open, Visual FoxPro displays an error message. If SET CONSOLE is set to ON in the same circumstances, Visual FoxPro displays the Open dialog box.

SET CONSOLE does not affect output from @В ...В SAY. Output from @В ...В SAY is controlled by the SET DEVICE setting.

Note:
An error always sets SET CONSOLE to ON.

See Also



JavaScript Editor js editor     Web development