Console: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The '''CONSOLE''' [[BRConfig.sys]] specification  was introduced in [[4.30]] and determines whether the console is displayed during calls to the VB or Delphi interface.
The '''Console''' [[BRConfig.sys]] specification  was introduced in [[4.30]] and determines whether the console is displayed during calls to the VB or Delphi interface. It can also be used with the [[Config]] command or within a program line using the [[Execute]] statement.  


===Syntax===
===Syntax===
[[image:Console.png|700px]]
[[image:Console.png|700px]]


===GUI On===
===When GUI is On===
'''DATA_ONLY''' is the default and only displays [[Command Console]] in non-blank run mode and command mode.
'''DATA_ONLY''' only displays the [[Command Console]] when it contains data while in [[run mode]], and always when in [[command mode]].


'''OFF''' turns command console off in run mode until (L)INPUT, then it stays on until CONFIG CONSOLE OFF is executed again. (CONSOLE OFF is no longer dependent on the state of the [[VB-Mgr]]).
'''OFF''' is the default and turns command console off in run mode until an interrupt occurs that puts the operator at a command line, then it stays on until program processing resumes. (CONSOLE OFF is no longer dependent on the state of the [[VB-Mgr]]).


'''ON''' keeps [[GUI Console]] and Command Consoles always on.
'''ON''' keeps the [[GUI Console]] and Command Consoles always on. This mode is useful for debugging.


===GUI Off===
===When GUI is Off===
Command Console/window #0  is always on.   
Command Console/window #0  is always on.   
[DATA_ONLY]  [OFF]  and [ON] are ignored.
[DATA_ONLY]  [OFF]  and [ON] are ignored.

Latest revision as of 16:54, 9 October 2017

The Console BRConfig.sys specification was introduced in 4.30 and determines whether the console is displayed during calls to the VB or Delphi interface. It can also be used with the Config command or within a program line using the Execute statement.

Syntax

When GUI is On

DATA_ONLY only displays the Command Console when it contains data while in run mode, and always when in command mode.

OFF is the default and turns command console off in run mode until an interrupt occurs that puts the operator at a command line, then it stays on until program processing resumes. (CONSOLE OFF is no longer dependent on the state of the VB-Mgr).

ON keeps the GUI Console and Command Consoles always on. This mode is useful for debugging.

When GUI is Off

Command Console/window #0 is always on. [DATA_ONLY] [OFF] and [ON] are ignored.

OFF_WHEN_SHELLED

Both consoles (GUI and command) are not displayed when the VB-Mgr (or a similar program) is running. This applies to GUI ON and GUI OFF.