GetArray

PowerBuilder Native Interface

PBBoundedObjectArrayCreator class:

GetArray method

Description

Obtains an array that has been created.

Syntax

GetArray()

Return Values

pbarray.

Examples

This example sets the values in an array and then uses GetArray to obtain the array:

PBBoundedObjectArrayCreator<pbvalue_string>
   ac(session);
for (i=0;i<itemcount1;i++)
{
   ac.SetAt(i+1,iarg[i]);
}
out_array = ac.GetArray();

See Also