BBjAPI::getOpenChannels

Description

In BBj 18.00 and higher, this method returns a BBjVector of open channel numbers.

Syntax

Return Value

Method

BBjVector

getOpenChannels()

Parameters

None.

Return Value

Returns a BBjVector of open channel numbers.

Remarks

The structure of the legacy CHN variable limits it to 16-bit channel numbers. This method returns the same information, but it doesn't impose any inherent limit; it can return channel numbers beyond 65535.

Example

open (unt)"X0"
open (unt)"LP"
vector! = bbjapi().getOpenChannels()
for i = 0 to vector!.size() - 1
    c = vector!.get(i)
    print fid(c),c
next i

See Also

BBjAPI

CHN Variable - Get Open Channels

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