BBjCommandLineObject::isWinConsole

Description

In BBj 4.0 and higher, this method returns whether the BBjCommandLineObject specifies WinConsole.

Syntax

Return Value

Method

boolean

isWinConsole()

Parameters

None.

Return Value

Returns whether the BBjCommandLineObject specifies WinConsole (0 = WinConsole not specified, 1 = WinConsole specified).

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

BBjAPI::newBBjSession

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