BBjTriggerData::getKeyNumber

Description

In BBj 6.0 and higher, this method returns the KNUM option's value if it is numeric.

Syntax

Return Value

Method

int

getKeyNumber()

Parameters

None.

Return Value

The numeric KNUM= Option from the Read/Extract Verb.

Remarks

None.

Example

REM Get the Trigger object from the BBj File System
    td! = BBjAPI().getFileSystem().getTriggerData()

REM Get the KeyNum
    keyNum = td!.getKeyNum()

See Also

BBjAPI

BBjTriggerData

ObjectVariables

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