BBjProgramInfo::hasLineNumbers


Description

In BBj 6.0 and higher, this method returns whether the program referenced by a BBjProgramInfo object has line numbers.

Syntax

Return Value

Method

boolean

hasLineNumbers()

Parameters

None.

Return Value

false (0) = the program does not have line numbers.

true (1) = the program has line numbers.

Remarks

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

Example

rem 'Determine if a program referenced by a BBjProgramInfo object has line numbers.

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

See Also

BBjAPI

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