BBjProgramInfo::getListing


Description

In BBj 6.0 and higher, this method returns the complete listing for the program referenced by a BBjProgramInfo object.

Syntax

Return Value

Method

string

getListing()

Parameters

None.

Return Value

Returns the program listing for a BBjProgramInfo object as a string of linefeed-delimited lines.

Remarks

If the underlying program is protected, this method throws an !ERROR=62 (Protected Program).

Example

rem 'Get the program listing of a BBjProgramInfo object.

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

Listing$=Hello!.getListing()

See Also

BBjAPI

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