BBjStackElement::getPhysicalLineNumber

Description

In BBj 9.0 and higher, this method returns the physical line number at the stack level that the BBjStackElement represents.

Syntax

Return Value

Method

int

getPhysicalLineNumber()

Parameters

None.

Return Value

Returns the line number of the program at this stack level.

Remarks

If the specified call level is a console command, getPhysicalLineNumber returns -1.

Example

vector! = BBjAPI().getRuntime().getBBjStack()
element! = vector!.get(0)
print element!.getPhysicalLineNumber()

See Also

BBjAPI

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