BBjProgramInfo

Description

In BBj 6.0 and higher, the BBjProgramInfo object provides programmatic access to information about a program.

Creation

BBjAPI > BBjProgramInfo

The BBjProgramInfo object is created through the following BBjAPI object method:

Return Value

Method

BBjProgramInfo

getProgramInfo(string filename)

Methods of BBjProgramInfo

Return Value

Method

int

getLineCount()

string

getListing()

BBjVector

getListingVector()

string getListingForLine(int line)

string

getListingForPhysicalLine(int line)

boolean

hasLineNumbers()

Remarks

None.

Constants

None.

Example

REM Create a BBjProgramInfo object.

Hello!=BBjAPI().getProgramInfo("Hello.bbj")

See Also

BBjAPI

BBj Object Variables

BBj Object Assignment

BBj Object Error Handling

BBj Object Operators

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