BBjStackElement::getFileName


Description

In BBj 9.0 and higher, this method returns the filename of the program at the stack level represented by the BBjStackElement.

Syntax

Return Value

Method

string

getFileName()

Parameters

None.

Return Value

Returns the filename of the file containing the program at this call level.

Remarks

If the specified call level is a console program, getFileName() will return null().

Example

vector! = BBjAPI().getRuntime().getBBjStack()

element! = vector!.get(0)

print element!.getFileName()

See Also

BBjAPI

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