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

string getCanonicalProgramName()

int

getLineCount()

string

getListing()

string getListingForLine(int line)

string

getListingForPhysicalLine(int line)

BBjVector

getListingVector()

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 Creation and Assignment

BBj Object Error Handling

BBj Object Operators

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