BBjStackElement::getUserLineNumber

Description

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

Syntax

Return Value

Method

int

getUserLineNumber()

Parameters

None.

Return Value

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

Remarks

If the specified call level is a console command or is a program without user line numbers, getUserLineNumber returns -1.

Example

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

See Also

BBjAPI

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