BBjFileSystem::getFileInfo

Description

In BBj 6.0 and higher, this method returns a BBjFileInfo object that is associated with an open file channel.

Syntax

Return Value

Method

BBjFileInfo

getFileInfo(int channel)

Parameters

Variable

Description

channel

Open file channel.

Return Value

Returns a BBjFileInfo object that can be used to manipulate the associated file channel.

Remarks

None.

Example

rem ' Obtain the instance of the BBjFileSystem object

BBjFileSystem! = BBjAPI().getFileSystem()

rem ' Open a file
CHANNEL = UNT
OPEN (CHANNEL)"config.bbx"

rem ' Create a BBjFileInfo object linked to an open file channel
BBjFileInfo! = BBjFileSystem!.getFileInfo(CHANNEL)

See Also

BBjAPI

BBjSysGui

Object Variables

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