BBjCommandLineObject::setWinConsole

Description

In BBj 4.0 and higher, this method specifies whether to use the WinConsole (debugger) instead of the SysConsole.

Syntax

Return Value

Method

void

setWinConsole(boolean wc)

Parameters

Variable

Description

wc

0 = WinConsole not specified.

1 = Clear WinConsole.

Return Value

None.

Remarks

In a traditional BBj SCALL, this is specified as –d.

Example

rem 'get and set winConsole flag

rem 'get CommandLine Object
myCMD! = BBjAPI().getConfig().getCurrentCommandLineObject()
myCmd!.setWinConsole(1)
PRINT myCMD!.isWinConsole()

See Also

BBjAPI

BBjConfig

BBjCommandLineObject

BBjAPI::newBBjSession

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.