Get Last Index

Retrieves the last available index from a business object array.

Inputs

Business object array
The business object array (specified as a BusObjArray object).

Output

Returns the last index, as an integer.

Notes

Although the Get Last Index function block performs a similar function to the Size function block, there is one important difference to note: Size returns a value that is 1 greater than the value returned by Get Last Index. This discrepancy occurs because the BusObjArray object used as input is a zero relative array.

Related information

This function block is based on the BusObjArray.getLastIndex() method. For more information, see getLastIndex().

Copyright IBM Corp. 2004, 2005